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
error: in __getitem__ return self.metrics[glyphName] KeyError: 'A' #1804
Comments
You can attach the font as a zip file. |
zipped font |
Does your font contain a glyph named "A"? |
It doesn't, the font doesn't contain a proper post table with glyph names it seems. |
The font was created using glyphter.com How do I make it have a "proper post table"? |
See this for how to correctly get the glyph index for character "A": fonttools/Lib/fontTools/pens/svgPathPen.py Lines 216 to 217 in cdc5307
|
Using this as a reference: https://groups.google.com/forum/#!topic/fonttools/ll4G3dOrDBc
I have this py script:
It is run against the a ttf I am developing.
Result:
GitHub will not allow me to attach the file.
What is the next step in this process?
Windows 10 x64
Using fonttools 4.2.4
The text was updated successfully, but these errors were encountered: