The way they talk about it makes it sound like they invented the written word, but that notwithstanding the fonts actually look really nice in my opinion.

  • maegul@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    8 months ago

    Even the textual healing? That seems to require a dynamic process that analyses the text, no?

    Or are fonts capable of that?

    • Die4Ever@programming.dev
      link
      fedilink
      arrow-up
      18
      ·
      8 months ago

      Contextual alternates are normally used for certain scripts, like Arabic, where the shape of each glyph depends on the surrounding glyphs. And they are also used for cursive handwriting fonts where the stroke of the “pen” might have different connection points across letters. Texture healing is a novel application of this technology to code.

      basically fonts were already capable of using alternate versions of characters based on their nearby characters, so they used that for these fonts to allow for seemingly-dynamic sizing/spacing

    • doc@kbin.social
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      Open type fonts have these capabilities built in. It’s up to the designer to implement it in useful ways like this.

    • dave@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      It’s in the article:

      This swapping is powered by an OpenType feature called “contextual alternates,” which is widely supported by both operating systems and browser engines.