-
Notifications
You must be signed in to change notification settings - Fork 73
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
Unable to use kerning #34
Comments
+1 |
This is due to the fact that ttfunk only recognizes kerning in a font that either has an old-style kern table or is in the Apple TTF format. These are both options when you can enable when you save the font with FontForge. See the second screenshot on https://fontforge.github.io/en-US/documentation/interface/generate/. If you're using a FontForge script, you'd set the following flags:
which I pass into the Generate command as follows:
|
I think that saving in the Apple format is just another way of enabling the old-style kern table. |
Btw, those flags are:
It isn't necessary to trim the font down like that. It's just what I use. |
@mojavelinux Thanks a million! That was indeed the issue. As a side note: FontForge warns about
Is that serious in any way? |
You're welcome!
When I first used FontForge, those warnings really worried me too.
Experience has taught me that FontForge is just very detailed about
compliance issues. I've yet to find a case where a warning translated into
a messed up glyph. And 90% of fonts (hand waving) are noncompliant in some
way, even really good ones.
|
Sounds good enough :). Thank you so much again! I'm closing this issue. |
Hi all!
I'm facing an issue where the kerning isn't read properly from the font.
result in
kerning? : false
The font does contain kerning and I've verified it by installing it in the MacOS Font Book and used the font in TextEdit.
Any thoughts or similar experiences? Or even better, any solution?
The text was updated successfully, but these errors were encountered: