-
Notifications
You must be signed in to change notification settings - Fork 130
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
Remove the fi ligature #20
Comments
I generally like ligatures but this one looks off. I find it disturbing and I don't see the need for it. |
Actually it would be cool if ligatures could be added to a Meslo Code variant: #28 |
So for those interested, here's a very quick and dirty script that will remove the #!/usr/bin/env python
import sys
import fontforge
for f in sys.argv[1:]:
font = fontforge.open(f)
try:
font.removeGlyph(0xFB01)
font.removeGlyph(0xFB02)
except ValueError:
continue
font.generate(f + '.fix') I only needed it for just this one-off use, so I CBF to make it nicer. The script depends on FontForge. |
Thanks @ZeroKnight for script, but for me, it isn't working properly. After running it: $ fontforge -lang=py -script parse.py ./LigaMesloLGMDZ-Regular.ttf it generates two files:
and when I'm changing fix one to Maybe you (or someone else) expected something similar? |
I don't run MacOS and have no real experience with it, so I'm afraid that I don't think that I can offer much help. That said, I don't know if it would make any difference, but I ran the script with python directly, and not with |
@ZeroKnight still this same, I tried both earlier - maybe you could upload somewhere your version of Meslo Font with Thanks in advance, |
By the courtesy of @ZeroKnight, I got his fixed Meslo fonts, which could be downloaded below. Meslo LG DZ v1.2 - fl-fi Removed.zip Unfortunately, on my Mac with Mojave 10.14.5 it still doesn't work 💔 I could try to install font with FontBook, but I saw few quick progress bars and nothing happen more (Font isn't added to FontBook list). I also tried to add it manually to Thanks in advance, |
For anyone coming across this later, if you don't want to install the python fontforge module, you can just use the older fontforge language:
|
Ligature are awesome for text reading but when you are in a terminal or when you are drawing it can be cumbersome, so Meslo is a font for terminals and programmers then they don't need ligatures I beleve.
The text was updated successfully, but these errors were encountered: