-
Notifications
You must be signed in to change notification settings - Fork 1
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
Noto fonts missing PostScript glyph names #25
Comments
Original comment by |
Original comment by |
Curious, will this be fixed? It shouldn’t be hard to write a little Python script that assigns AGL-compliant glyph names. For example, here is a snippet from the GSUB table of NotoSans-Regular.ttf in TTX format. From this, it can be inferred that the name of
|
Here is a code snippet (as a patch for fonttools) that walks the GSUB table, looks for alternates, and uses them to suggest AGL-compliant names for glyphs that have no name yet. https://github.com/brawer/fonttools/commit/7c5769db961a1f34a4853cf1c1ea8ecaf0804502 Example use:
@behdad, what do you think, should I make this a proper tool within the fonttools codebase? It actually would be a great way for me to figure out how to walk GSUB tables, and not that much work; so it would be a nice complement to my current feaLib work. |
Smart PDF creators can use various ways to embed the original text in the PDF (cmap, ActualText etc.) and since they have access to the actual text string, they don’t need glyph names. The only case where glyph names are needed is when the original text is missing during PDF creation, e.g. distilling PDF from PostScript. But this only works for simple scripts and I doubt that glyph names help much with the complex scripts mentioned, especially when there is re-ordering and one to many glyph substitutions. |
Even if the impact isn’t huge, would there be any downside to complying with Adobe’s glyph naming conventions? |
File size I guess. |
Adobe's glyph naming conventions are not necessarily nice for understanding what a glyph is. I highly recommend shipping with "source" glyph names, i.e. whatever the font designer prefers to use so they would understand the glyph better. This also helps downstream modifications and contributions by helping people understand a glyph better. Processes that care about file size can simply strip out the glyph names. /cc @kenlunde /cc @NorbertLindenberg |
Note that the AGL Specification and the AGL & AGLFN project have been retired from SourceForge, and are now hosted on GitHub at agl-specification and agl-aglfn. |
Hi Xiangye & Marek, sound a production decision need for this issue. |
Seeing as this issue hasn't been picked up for the past few years, shouldn't this be closed? |
Original issue reported on code.google.com by
[email protected]
on 13 Feb 2015 at 2:53The text was updated successfully, but these errors were encountered: