x/image/font/sfnt: GlyphName returns empty string on OpenType font #33990
Labels
Milestone
Comments
sfnt doesn't support post table version 3.0, which is why GlyphName returns an empty string here. See https://docs.microsoft.com/en-us/typography/opentype/spec/post#version-30 |
In an OpenType PS font, I think the glyph names are stored in the CFF table along with the outlines instead of in the post table. (But I could be wrong on this; it's hard to find solid information without digging way down into the specifications.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?What did you do?
texgyrepagella-bold.otf.zip
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: