You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m building static & variable fonts from UFOs + a designspace, then checking them with Fontbakery.
The variable font includes several glyphs like dollar.rvrn, which swap forms in certain areas of the designspace, using rules elements in the designspace and the rvrn feature in the variable fonts.
These glyphs are used by FontMake to build the correct form of such glyphs into static fonts, which is great. However, the alternate form of the glyph also makes it into static fonts, where they are not needed. Then, the Fontbakery check com.google.fonts/check/unreachable_glyphs warns about these alternate glyphs being "unreachable," as they cannot be accessed via Unicode values or OpenType features. The extra glyphs don’t cause any major problems, but I’d rather them not be there.
Is there some setting or flag I could add to a build to remove such glyphs from the static fonts only?
Thank you for any insights!
The text was updated successfully, but these errors were encountered:
yeah I see what you mean. I think fontmake is just playing safe here, it can't tell if those glyphs may or may not be referenced elsewhere. Removing unreferenced glyphs is the job of a subsetter (pyftsubset or hb-subset), how about you just run that as separate step after the compilation?
Okay, I suppose that answer makes sense. It would be nice if it were as simple as adding a flag to a fontmake command, but it’s helpful to confirm that this is not currently the case.
Feel free to close this if you don’t intend to take further action. Thanks again!
I’m building static & variable fonts from UFOs + a designspace, then checking them with Fontbakery.
The variable font includes several glyphs like
dollar.rvrn
, which swap forms in certain areas of the designspace, usingrules
elements in the designspace and thervrn
feature in the variable fonts.These glyphs are used by FontMake to build the correct form of such glyphs into static fonts, which is great. However, the alternate form of the glyph also makes it into static fonts, where they are not needed. Then, the Fontbakery check
com.google.fonts/check/unreachable_glyphs
warns about these alternate glyphs being "unreachable," as they cannot be accessed via Unicode values or OpenType features. The extra glyphs don’t cause any major problems, but I’d rather them not be there.Is there some setting or flag I could add to a build to remove such glyphs from the static fonts only?
Thank you for any insights!
The text was updated successfully, but these errors were encountered: