Error generating NotoSerifDevanagari
See original GitHub issueTrying to generate fonts from Noto Serif Devanagari I get this error:
fontmake: Error: In 'NotoSerifDevanagari-MM.glyphs' -> 'master_ufo/NotoSerifDevanagari.designspace' -> 'master_ufo/NotoSerifDevanagari-Light.ufo': Compiling UFO failed: <features>:6089:9: Expected '{'
Version fontmake 2.3.1 with Python 3.8 on Mac. Used command: python3 fontmake -g “NotoSerifDevanagari-MM.glyphs”
The error message was not very meaningful to me. If there is is a missing { in the embedded feature code, I do not think Glyphs.app would manage to generate fonts. That made me suspect the GPOS code. I could generate fonts after removing all the anchors. I haven’t tried to narrow it down any further.
Attached a ZIP file with the latest Monotype version of the Glyphs file.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
It helps that Zachary is the one person that combines knowledge of fontmake and Noto Serif Devanagari.
If you print out what’s actually happening it shows that all masters are expecting
['eCandraMatra-deva', 'oeMatra-deva', 'eLongCandra-deva', 'candraBindu-deva', 'invertedCandrabindu-deva', 'eCandraMatra_anusvara-deva', 'eCandraMatra_candrabindu-deva', 'oeMatra_candrabindu-deva', 'oeMatra_anusvara-deva', 'ayMatra-deva', 'ayMatra_candraBindu-deva']
but Condensed also has'oeMatra_reph-deva', 'oeMatra_rephanusvara-deva', 'oeMatra_rephcandrabindu-deva'
which is why it says 11 and 14. Everything gets only those 11 glyphs, but for some reason these extra 3 are getting into the Condensed set. Not sure why without digging more into the code.