Skip to content
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

Font is not fully importing. Missing ligatures. Outputs as non-monospace #156

Open
HolbyFPV opened this issue Aug 25, 2023 · 4 comments
Open

Comments

@HolbyFPV
Copy link

I am trying to add a ligature to the JetBrainsMono Nerd Font without changing the rest of the font.
https://www.nerdfonts.com/font-downloads

I notice when I import the font, the ligature table is empty. I tried with a different font that I know has ligatures, and again it's empty. I go ahead and add my ligature, which works fine when exported. But none of the original ligatures are there.

Another thing I notice is my terminal no longer detects it as a monospace font. I verified this by exporting the font after importing without making any changes.

Is there an issue with the import process or something I'm missing?

@johanmattssonm
Copy link
Owner

Thank you for the report. The ligature issue happens because I haven't written a gsub parser yet and it would take quite a while to get such thing in place. I apologize for the inconvenience.

I guess the monospace issue should be easier. Which program should I use to double check this? (and where do i find that value?)

@HolbyFPV
Copy link
Author

That is unfortunate, I feel very out of options at the moment. Do you happen to know of any other programs I could use to accomplish this? I have tried FontForge but it crashes when trying to export the font. I'm pretty sure they aren't importing ligatures either. I have no access to OSX so I can't use GlyphsApp.

If you want to investigate the monospace issue, I was using Windows Terminal > Settings > Defaults > Appearance > Font Face. When the "Show all fonts" checkbox is false, it will only show monospace fonts. I don't know how exactly they are detecting if a font is monospace or not.
image
If I'm using the font exported from Birdfont, I get this warning, and have to check "Show all fonts" in order to see it, indicating that it's not being picked up as monospace. If I use the stock font without running it through Birdfont, no warning or checkbox needed.

@johanmattssonm
Copy link
Owner

Thanks! The a fix for mono issue will be available in the next release.

@HolbyFPV
Copy link
Author

Appreciate it. Hope to see the gsub parser implemented one day 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants