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 (he/they)
      link
      fedilink
      English
      610 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
        link
        fedilink
        1710 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
        link
        fedilink
        1110 months ago

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

      • @[email protected]
        link
        fedilink
        English
        210 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.

    • @jballs
      link
      English
      310 months ago

      Do modern IDEs allow for setting different fonts for comments, human written code, Copilot written code, etc? I don’t do much actual coding these days, so it’s been a while. I’m used to just seeing different colors but for things like comments and reserved words, but not fonts like they showed in the examples.

      • dinckel
        link
        fedilink
        110 months ago

        Not copilot code specifically, but you can select different fonts for comments and regular code, yeah