-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mono font has ligatures (fi, fl, ff, ffi, ffl) that are only 1 character wide #89
Comments
From the user's point of view, you can tell your application to not use ligatures, using fontconfig, as described in https://wiki.archlinux.org/title/Font_configuration/Examples#Disable_ligatures_for_monospaced_fonts. That wiki says that Firefox does not respect this setting ;( On the web, you can direct the browser using CSS, https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-ligatures JetBrains Mono ships a NL (non-ligature) versions of the .ttf files. Maybe that's a worthwhile route to take, for user convenience. https://stackoverflow.com/questions/62195642/what-the-difference-between-jetbrains-mono-and-jetbrains-mono-nl |
I noticed this, it really happens. For 'fi' and 'fl' mainly, that contains many words like 'file' is really weird. |
This is still a bug, even if it can be disabled under certain circumstances. I cannot think of a single reason anyone would want these ligatures in a monospace font. Other monospace "code" fonts that use ligatures tend to maintain the original width of characters. JetBrains Mono also doesn't have these typographic ligatures despite having the code ones. |
The https://github.com/RedHatOfficial/RedHatFont monospace variant does not suffer from this bug |
Nerd Fonts has patched Overpass Mono with the |
This is true at least for the version currently on Google Fonts:
https://fonts.google.com/specimen/Overpass+Mono?query=overpass&preview.text=I%20offer%20fine%20affluent%20foxes%20no%20affixed%20fleas.&preview.text_type=custom
The text was updated successfully, but these errors were encountered: