-
Notifications
You must be signed in to change notification settings - Fork 72
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
add-font adds spaces to ABeeZee font name #122
Comments
fontbakery does have exceptions for this kind of thing. Maybe we can copy the exceptions into gftools add-font as well |
That's pretty much what I had in mind! I thought it actually did exist in add-font, but that must have been in another tool. |
I don't like this camelcase splitting function. I also use it in GFR. Couldn't we get the family name in the following manner?
|
The above method does depend on the fonts having good name tables though? so maybe the filename may be a better indicator of the family name. Anyone willing to test this across our collection? |
I think I will probably need to check name changes anyway, so I'd be happy to try this. What is nameID |
it's the langID of the record. |
I'm using
add-fonts
to generate new metadata for all families in google/fonts, in order to make sure we don't exclude latin-ext glyphs where they exist (see google/fonts#187). This has led me to find a number of issues withadd-font
. I'll document them separately, so that we can hopefully correct things that are real issues, and I can be better informed if some of them aren't real issues.If
add-font
is run on ABeeZee, theMETADATA.pb
file ends up withHowever, in the
name
table of ABeeZee,nameID
1 is(without spaces)
So, we may need to add an exception for ABeeZee, unless this is really the intended behavior.
The text was updated successfully, but these errors were encountered: