Login
You're viewing the code4lib.social public feed.

Replies

  • Nov 10, 2023, 10:00 AM

    @isagalaev I mean, the only support it requires is to support rather common font features. Any editor that would use the Web Platform for the text inside would require these, as it is just enabling some font features through CSS in the end.

    And, of course, any other editor that is not using the Web Platform, could also use any of these features, as they're a part of the fonts standard.

    So nothing proprietary there.

    💬 1🔄 0⭐ 0
  • Nov 10, 2023, 10:01 AM

    @isagalaev
    They're also doing things almost no-one did before with the whole “Texture healing” for a monospaced font using the contextual alternates, which is really cool. And it is done in a progressive enhancement way, as font would still render without this feature enabled, just not as pretty.

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

    @kizu they are (intentionally) mixing font handling into other layers: now a user app suddenly has a say in what subset of ligatures should be enabled. And also controls kerning, sorry, "texture healing"? Instead of producing patches for font rendering engines they're releasing a tightly coupled stack parts of which will be hard to replicate outside of it.

    Also I'm not a fan of relying on Web Platform for everything. From both technological and political point of view.

    💬 1🔄 0⭐ 0
  • 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
  • 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