adobe-type-tools / afdko

Adobe Font Development Kit for OpenType
https://adobe-type-tools.github.io/afdko/
Other
1.06k stars 167 forks source link

[buildmasterotfs] too much verbosity #1692

Open frankrolf opened 1 year ago

frankrolf commented 1 year ago

I am building a CFF2 variable font, using the typical buildmasterotfs/buildcff2vf workflow. There are some glyphs I want to exclude from my build, which is why I am using the -gs option.

buildmasterotfs just uses makeotf, which emits these lines for each intermediate CFF2 OTF it generates:

WARNING: Skipping glyph not in GOADB file: <caron.alt>
WARNING: Skipping glyph not in GOADB file: <dblgrave>
WARNING: Skipping glyph not in GOADB file: <hoi>
WARNING: Skipping glyph not in GOADB file: <dotbelow>
WARNING: Skipping glyph not in GOADB file: <commaaccent>
WARNING: Skipping glyph not in GOADB file: <breveacute>
WARNING: Skipping glyph not in GOADB file: <brevegrave>
WARNING: Skipping glyph not in GOADB file: <brevetilde>
WARNING: Skipping glyph not in GOADB file: <brevehoi>
WARNING: Skipping glyph not in GOADB file: <circumflexacute>
WARNING: Skipping glyph not in GOADB file: <circumflexgrave>
WARNING: Skipping glyph not in GOADB file: <circumflextilde>
WARNING: Skipping glyph not in GOADB file: <circumflexhoi>
WARNING: Skipping glyph not in GOADB file: <dieresisacute>
WARNING: Skipping glyph not in GOADB file: <dieresisgrave>
WARNING: Skipping glyph not in GOADB file: <dieresiscaron>
WARNING: Skipping glyph not in GOADB file: <dieresismacron>
WARNING: Skipping glyph not in GOADB file: <dblgrave.sc>
WARNING: Skipping glyph not in GOADB file: <hoi.sc>
WARNING: Skipping glyph not in GOADB file: <commaaccent.sc>
WARNING: Skipping glyph not in GOADB file: <breveacute.sc>
WARNING: Skipping glyph not in GOADB file: <brevegrave.sc>
WARNING: Skipping glyph not in GOADB file: <brevetilde.sc>
WARNING: Skipping glyph not in GOADB file: <brevehoi.sc>
WARNING: Skipping glyph not in GOADB file: <circumflexacute.sc>
WARNING: Skipping glyph not in GOADB file: <circumflexgrave.sc>
WARNING: Skipping glyph not in GOADB file: <circumflextilde.sc>
WARNING: Skipping glyph not in GOADB file: <circumflexhoi.sc>
WARNING: Skipping glyph not in GOADB file: <dieresisacute.sc>
WARNING: Skipping glyph not in GOADB file: <dieresisgrave.sc>
WARNING: Skipping glyph not in GOADB file: <dieresiscaron.sc>
WARNING: Skipping glyph not in GOADB file: <dieresismacron.sc>
WARNING: Skipping glyph not in GOADB file: <dblgrave.cap>
WARNING: Skipping glyph not in GOADB file: <hoi.cap>
WARNING: Skipping glyph not in GOADB file: <commaaccent.cap>
WARNING: Skipping glyph not in GOADB file: <breveacute.cap>
WARNING: Skipping glyph not in GOADB file: <brevegrave.cap>
WARNING: Skipping glyph not in GOADB file: <brevetilde.cap>
WARNING: Skipping glyph not in GOADB file: <brevehoi.cap>
WARNING: Skipping glyph not in GOADB file: <circumflexacute.cap>
WARNING: Skipping glyph not in GOADB file: <circumflexgrave.cap>
WARNING: Skipping glyph not in GOADB file: <circumflextilde.cap>
WARNING: Skipping glyph not in GOADB file: <circumflexhoi.cap>
WARNING: Skipping glyph not in GOADB file: <dieresisacute.cap>
WARNING: Skipping glyph not in GOADB file: <dieresisgrave.cap>
WARNING: Skipping glyph not in GOADB file: <dieresiscaron.cap>
WARNING: Skipping glyph not in GOADB file: <dieresismacron.cap>

My project has 12 source UFOs, which means I have roughly 12 * 50 = 600 lines of useless output. Even in pure makeotf context, I’d be happy to just have a line 48 glyphs skipped (not in GlyphOrderAndAliasDB), to have the full output behind a --verbose flag.

All these lines make it difficult to parse the output.