Hacker News new | ask | show | jobs
by codedokode 1 day ago
They show the letters mostly at a large size but this font is intended to be used in a small size so it makes no sense. They have the console demo, but it also uses oversized letters so I had to zoom out. Why not make the letters proper size by default.

I do not like the ligatures, they mostly confuse the user rather than help (for example the ligature for </ or for ===). If they slightly adjusted the characters for better readability, it would be ok, but not replacing them with a new symbol.

I do not like the zero with the dot, it just looks weird. Also, in a text like O0O0 the O and 0 have the same shape which is not good.

The terminal demo doesn't allow typing non-ASCII characters.

Also, it "Try it" I typed the sequence abc...xyz and the spacing (kerning) between letters is not uniform ("ijkl" is very loosely spaced while "mnop" is dense). But probably it is difficult to do with a monospaced font.

5 comments

I entirely agree that the "Try it" section should permit testing font sizes 8 to 14.

Ligatures and zero glyph designs are subjective.

> the spacing (kerning) between letters is not uniform [...] [b]ut probably it is difficult to do with a monospaced font.

It's almost never done with a monospaced font.

Typically, each glyph is visually or optically centered in the space (which isn't always the absolute center for glyphs like "4" or "7"). You can do glyph location adjustment in a monospace font, but, especially with code, part of the idea of a monospace font is to be able to quickly determine relative character position between lines visually; location adjustment is usually considered an anti-feature.

Compare these in other monospace fonts on your system:

  ijijijij  
  MNMNMNMN  
  M|M|M|M|  
  AVAVAVAV
i personally like ligatures, probably because I like old school math expression, but you can turn them off most of the time.
They should be opt-in.
I agree, but FWIW it is pretty easy to disable ligatures system-wide with font config. Just drop this into ~/.config/fontconfig/conf.d/99-disable-ligatures.conf:

  <?xml version="1.0"?>
  <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
  <fontconfig>
    <description>Disable ligatures</description>
    <match target="font">
      <edit name="fontfeatures" mode="append">
        <string>liga off</string>
        <string>dlig off</string>
        <string>rlig off</string>
      </edit>
    </match>
  </fontconfig>
(this naturally assumes you're using Linux. I have no idea what the closed source world uses for configuring fonts.)
Won't that disable the real ligatures in non-monospaced fonts?
Yeah, you can change the block to filter to specific fonts or font families if you want. For example, in my configs I only apply that setting to the Cascadia Code font by doing:

  <match target="font">
    <test name="family" compare="eq" ignore-blanks="true">
      <string>Cascadia Code</string>
    </test>
    <edit name="fontfeatures" mode="append">
      <string>liga off</string>
      <string>dlig off</string>
      <string>rlig off</string>
    </edit>
  </match>
If your client does not allow to enable or disable ligatures, you should really pick a better program
Terminals are often the place ligatures are most frustrating. In a text editor (vim, micro, etc.) or coding agent, ligatures can be nice. But general terminal use makes it annoying (hexdump output collapsing `..` into a multi-character ligature almost always looks wrong.)
in what world is it preferable to have != look like ≠ (but still be != under the hood)?

if you want ≠ then type ≠

This is subjective. When writing code, I generally find ≠ more readable and my brain still automatically parses that it's actually !=. I've never had any problem with that. But I can see why others would feel differently. This is why code editors generally allow enabling / disabling ligatures.
i much rather be able to compose symbols with regular characters than to remember escape sequences for everything.
abcd_f is complaining that, with this font, you have to enable or disable “no ligatures”. That, in their and my opinion, is the wrong way around, especially for a monospaced font.
Sheee-it, I'd rather pick a better font, instead.
It's not a client/viewer capability thing, it's an ambiguity & consistency thing. For any data, code, commandlines, there should be a glyph and a cell for every byte and the same for every byte.

Ligatures are only reasonable in places where proportional fonts would be or full latex math formulas, and that is not in code or terminals, nor data like password managers.

Ligatures are an annoyance in practice (e.g.: when editing code). The fact that they're always-on is a nuisance.

Their suggestions of using CSS to disable them is applicable for web, but I'm not aware of any terminal which has such knobs — mine definitely doesn't.

0 with a dot or a slash is unambiguous and far more important a priority than "looks weird".

Having the shape of the 0 or O be different isn't enough because you can't tell which it is if you only see one or multiples of the same one. Even when there are both and so you can see there are 2 different things, that still doesn't really say which is which, just that there are 2 different shaped rings.

I generally prefer the slash myself but there are situations where the dot style is clearer than the slash style, and it's also less similar to a diameter symbol.

All the places where mono fonts are used, are often conflated with a totally seperate quality which is ambiguity.

There are a lot of mono fonts that ARE mono spaced, yet still no good for code, data, password managers, terminals, because they are still full of ambiguities like O0, 1Il|, etc.

> spacing (kerning) between letters is not uniform

When you have a mono font, either the spacing is non-uniform, or the character weight is non uniform. Something has to give, after all. 'Kerning' for mono fonts is not really a thing. The defining feature of a mono font is that all characters get the same width (mono is short for monospaced, i.e. using a single space).

This is a rather ugly variation o the theme, though. And pretentious to boot. The open source mono font :-D. The first time I heard the term Open Source, or 'freely licensed', font must have been in the first half of the 90s. Oh but I forget, this one is with AI!

It's not this project's fault that nobody has taken a pretty obvious name yet.

I recall there being X11 fonts that were open source in the 90s, but they were... just okay? In the early 2000s I remember FreeMono showing up and Vera? That might not be the right timing.

The first FOSS-license-like font I remember getting really popular for programming was DejaVu Sans Mono, which was a fork of Vera, IIRC. This was the first font I remember that really communicated how bad Courier New and Terminal were. I think I put that everywhere for a while.

A few years later, Inconsolata got popular as well. That was a clone of MS's Consolas font (which is very good for programming) that had been stuck in the Longhorn development pipeline for years.

> It's not this project's fault that nobody has taken a pretty obvious name yet.

I don't mind the name. OpenMono is fine. It's the first sentence following that on the website that rubs me the wrong way: `OpenMono is the open source mono font` Like there are no others. Like it is not just a slight variation on a theme (iosevka). The whole website goes on like that (at least it reads to me like that). Pretending to be something highly unique instead of just a spin on something that someone else made. Nothing wrong with slight improvements on an existing font of course. But something in the way that page is written bugs me.

> I recall there being X11 fonts that were open source in the 90s, but they were... just okay?

So just like this one ;-P (I don't really like Iosevka either).

There's only so much variety or innovation you can get out of a monospace serif font and still have it be functional. It's not like the turn of the century when ClearType, subpixels, and syntax highlighting were just reaching a wider audience. Like when Fantastique Sans Mono[0] and Comic Mono [1] are typically what qualifies as "high variety", I kinda feel like the design space is pretty well covered.

Site-wise, the site looks like Google Fonts[2] to me. It's a font page. It's going to show you `The swift brown fox jumped over the lazy dog.` or some other pangram a hundred times in a hundred styles of the same font.

[0]: https://github.com/belluzj/fantasque-sans

[1]: https://dtinth.github.io/comic-mono-font/

[2]: https://fonts.google.com/specimen/Inconsolata?preview.script...