Login
You're viewing the code4lib.social public feed.
  • Nov 10, 2023, 8:00 PM

    @isagalaev I mean, this is how fonts work? And are intended to work?

    All fonts are different, it is not possible to “patch” them in the way you say, and kerning cannot be used for monospaced fonts, well, because it controls _spacing_, which should be uniform.

    Using ligatures and contextual alternates for something like this is interesting and novel, and might encourage other font producers to look into this direction as well.

    And if some engine does not have support for OpenType… well.

    💬 1🔄 0⭐ 0

Replies

  • Nov 10, 2023, 10:02 PM

    @kizu I probably don't know enough about fonts to get into details… But afaik kerning is part of OpenType, so texture healing which feels like an extension of it, should become a part of the spec / basic implementation too, and not be re-implemented in every app that wants it.

    💬 1🔄 0⭐ 0
  • Nov 10, 2023, 10:13 PM

    @isagalaev “texture healing” is just a name for the technique, everything it uses is already parts of OpenType. See en.wikipedia.org/wiki/List_of_

    On the monatype font's page, you could see that the way things are applied are by specifying which font features you'd want to enable. For example, for “texture healing” it is “contextual alternates”, or “calt”.

    So, the only question is if the editor/renderer supports these already standard features. If not — via graceful degradation font would still work.

    💬 2🔄 0⭐ 0
  • Nov 10, 2023, 10:31 PM

    @kizu just looked into Sublime Text, and apparently it also support contextual ligatures as a feature. My awareness of complexity of modern font systems has just blown up :-)

    💬 1🔄 0⭐ 0
  • Nov 10, 2023, 10:36 PM

    @isagalaev There were plenty of advancements in fonts over the years! Variable fonts, color fonts, etc. Not even all the possibilities are available in the modern browsers (I think animating the palettes of color fonts is still in the works)

    I think variable fonts probably would have the worst support, but that's why there are almost often pre-rendered different preset weights are available for download. But how cool is it to have all the weights as interpolatable parameters right in the font!

    💬 1🔄 0⭐ 0