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
        arrow-up
        8
        arrow-down
        2
        ·
        1 year 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
          ·
          1 year 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
          ·
          1 year 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
          ·
          1 year 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@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year 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@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

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