question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error generating NotoSerifDevanagari

See original GitHub issue

Trying 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.

NotoSerifDevanagari-MM.glyphs.zip

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
JelleBosmaMTcommented, Mar 2, 2021

It helps that Zachary is the one person that combines knowledge of fontmake and Noto Serif Devanagari.

0reactions
punchcuttercommented, Mar 4, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with Noto sans Devanagari - LaTeX Stack Exchange
I am using texlive 2020 in windows 10. I am trying to use Noto Sans Devanagari font with xelatex. I have the fonts...
Read more >
Noto Serif Devanagari - Google Fonts
Noto is a global font collection for writing in all modern and ancient languages. Noto Serif Devanagari is a modulated (“serif”) design for...
Read more >
Noto Sans Devanagari sans-serif - google webfonts helper
A Hassle-Free Way to Self-Host Google Fonts. Get eot, ttf, svg, woff and woff2 files + CSS snippets!
Read more >
Noto Sans Mayan Numerals sans-serif - google webfonts helper
IBM Plex Sans Devanagari sans-serif ... Your generated archive for Noto Sans Mayan Numerals with charsets [mayan-numerals] and styles ...
Read more >
Publish full fallback sequence for (generic) font families (sans ...
They can be generated by running fc-match -a Sans and fc-match -a Serif ... 348, NotoSerifDevanagari-Regular.ttf: "Noto Serif Devanagari" "Regular".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found