• muhanga@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    11 months ago

    And sadly one more font I will never be able to use due to missing support of non-latin characters.

    Sadly some features are nice.

    • meseek #2982@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      You’d think after that page of “texture healing”, alignment, etc. etc., Microsoft would actually make a fully, complete font first and foremost…

      • muhanga@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        And release zip contains a _MACOSX folder which is a clear indication of sloppiness and/or rushed release. … and ligatures don’t work out the box in JetBrains product IDEs.

        And if only they slapped beta on this there will be not problem what so ever…

        • MrScottyTay@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          The ligatures don’t even work in visual studio. It made me look for a different font with ligatures, landed on fira code for now. But hyphenated ligatures just seen outright broken on VS and have been for a good amount of years. Think it’s time to change IDEs soon. Might try and get VS Code to act more like it’s counterpart at some point.

  • jeffhykin@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    11 months ago

    I like all of it, except for that awful “texture healing”. Imagine having words above & below like

    i=mins
    w=maxs
    

    But the m’s just slightly don’t line up because the top one is wider than the bottom one. I’d feel like my editor was gaslighting me 🤢

    • Die4Ever@programming.dev
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      11 months ago

      Texture healing works by finding each pair of adjacent characters where one wants more space, and one has too much. Narrow characters are swapped for ones that cede some of their whitespace, and wider characters are swapped for ones that extend to the very edge of their box. This swapping is powered by an OpenType feature called “contextual alternates,” which is widely supported by both operating systems and browser engines.

      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

  • murtaza64@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    11 months ago

    I love the idea of using multiple font faces at the same time while looking at code. I wonder if (hope?) terminals will one day soon support switching fonts with control sequences… Would be pretty awesome!

  • yoevli@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 months ago

    I don’t think I’ve ever felt the urge to apply an alignment chart to monospace fonts of all things, but Xenon and Radon are basically lawful and chaotic evil respectively.

  • cashew@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    11 months ago

    Neon is the only one that I think is passable. The rest are a bit too stylized for code. The texture healing is a great idea though, I would love for that to be common.

    Edit: Actually I’ve changed my mind. Texture healing would introduce too much variation in similar texts. If spacing is a problem then maybe the font is simply no good.

    • meseek #2982@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      11 months ago

      Yeah texture healing is poorly thought out and will break way more things than it “fixes”. If your font needs that, go in and fix the damn font. A solution to a problem no one asked for, thanks Microsoft!

  • Pyro@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    11 months ago

    Neon and Argon: Seem okay. They’re really quite similar though. It’s like the designers couldn’t decide which they liked more and so just decided to release both.

    Xenon: It feels alright. The horizontal serifs give everything a more uniform look, but you can also get that with any other serif font.

    Radon: Uh, no thanks. It’s like someone took the weird letters from Dank Mono and said “what if we did that but for the whole font?”

    Krypton: What if we just took OCR A and added ligatures? Alternatively, “Floating Point Precision Error: The Font”

    Overall, none of these are compelling enough to make me want to try them. I quite like the Texture Healing feature, but it’s not enough to make me want to move to it.

    Also, using multiple different fonts in one code file sounds horrendous.

    • suy@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      Radon, the “handwriting” one, seems like if someone wanted to have Comic Sans but for code.

      • cashew@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        11 months ago

        Comic Code is a thing and it’s 10/10. It’s proof that handwriting style fonts for code is possible.

      • nameisnotimportant@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 months ago

        That’s exactly how I thought, I’m not a dev myself but are there really people who might use a font like this to code?

        • muhanga@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Some might. I using Comic Code and Fantasque Code from time to time as it forces my brain to reinterpret “known” code and helps to find errors that way. It also help with minor dyslexia moments. I like Radon, except I fully hate how “i” character is looking it is a “z” with a dot on it. If there were variant with normal “i” I would consider using it.

    • Rubanski@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I think Xenon with it’s small serifs looks a bit like SimSun, but with better kerning

  • Bruno Finger@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    11 months ago

    The fonts are nice but I absolutely hate the “copilot voice” text moving around idea, it’s absolutely terrible to read.

    • JakenVeina@lemm.ee
      link
      fedilink
      arrow-up
      8
      ·
      11 months ago

      I don’t think the intention is that Copilot voice would be animated, I think they just had a dumb idea to highlight it that way in the demo. Look closely, and you’ll see the Copilot voice is the only text there written in the “Krypton” font. The animation indeed looks godawful.

  • codemonk@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    11 months ago

    Technically, font healing is a neat idea. It fails for text that does not meat its requirements, i.e. two ‘m’ next to each other. Depending on the characters around them, this might create two different ‘m’.

    This is unavoidable, of course. The only solution are proportional fonts. So font healing is a nice idea. It creates a more consistent spacing at the price of less consistent glyphs. Whether one likes this compromise, is a matter of taste. I personally lean towards consistent glyphs, but I did not try it for an extended period.

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      I’m not sure I’d consider that “failing”. At first glance, I don’t mind the distinct “m” glyphs being juxtaposed. But perhaps I’d find it annoying after a while.

      • codemonk@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Maybe ‘failing’ is too strong. What I mean is that in situations like the one I showed, texture healing cannot solve the problem of uneven texture. Not that they claimed it does. It just eases the problem. I like to know the trade-offs. When does it provide an improvement and when not? What tensions does that create?

        From a users point of view, I do not know if it ‘fails’ or not. I totally agree with you. Maybe the I would find to distinct ‘m’ glyphs annoying, maybe not. And example emphasizes the ‘problem’. Maybe, I woukd even notice while coding or writing. To know that, I need to try. I just like to know the trade-offs in advance.

        • BatmanAoD@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          When reading the announcement post, I was indeed hoping they’d include an example word with two "m"s in a row, so I was glad to see the example here. I don’t mind it, but it does feel almost dishonest to exclude that case from their post.

          • codemonk@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            11 months ago

            Yeah, I am always happy if a project not only mentions where it shines but also where it does not. But it is common practice not to do so. Same in academic publishing. Everybody is focused on selling oneself, it seems.

    • jadero@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I’ve long preferred proportional fonts and positional tab stops like what you find in a WYSIWYG word processor. Got a tab position wrong? Drag it as appropriate or, if necessary, add a new one. In fact, during a period where I was doing far more writing than programming, in the days before code completion, I preferred my WYSIWYG word processor to my code editor. I had appropriate scripts and macros for cleaning up imported text files and to always save both native format and a text file with spaces in place of tabs. I also had different templates for different languages so that I could have custom processing for different languages. (It helps that a big part of that job was teaching people how to use word processors as far more than just electronic typewriters.)

      Now, of course, the programmer’s editor is an advanced tool tailored to the job, making it lunacy to even consider a word processor as code editor. Which doesn’t mean that there aren’t word processing concepts that might be valuable.

      Nick Gravgaard has some good writing on the subject and links to a variety of resources, including to at least one proportional font designed for programming.

      • codemonk@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Interesting. Thanks for sharing. I started with WYSIWYG and did not like editing with proportional fonts. Things do not align, the cursor jumps around and movements have variable distances. But I much prefer looking at beautifully typesetted proportional font (e.g. with LaTeX). While I think, monospaced font are nice for editing, they are okayish to look at.

        Thanks for the link. I will look into it and maybe try proportional for coding once more. Another idea I really like are almost proportional fonts. Read about these fonts a few month ago. So far I haven’t tried them.

        • jadero@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          I’m just getting back into programming as a retirement hobby after leaving the field due to burnout 15 years ago. That means I’m only just starting to figure out editors and such.

          I don’t know of any code editors that use tab stops the way a word processor does. A word processor uses tab stops specifically for alignment at defined positions rather than tab characters equivalent to specific number of spaces (or tab key to insert specific number of spaces). Without the ability to set positional tab stops, I don’t know that proportional fonts will be all that great for most people.

          I took a look at your link to almost proportional fonts. Thanks. I don’t know how I missed that, given that iA Writer is one of the editors I’ve been playing with for general purpose writing. (I’ve become disillusioned with the state of modern word processors.)

  • Carighan Maconar@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    Damn, these are pretty good.

    I’ve been using Iosevka for quite a while now which is very tall and thin by comparison to most fonts. These are wider, but that makes them more favorably compare to Consolas, still overall my favorite font for the console (Cascadia Code looks weird with Antialiasing IMO).

    Going to give Xenon in particular a week to try it out. Love a programming font with serifs.

  • simonced@lemmy.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    Looks nice, I’ll try it today and see how it goes. At least MS doing something good for a change…unless they added spyware to a font!? LOL