-
Notifications
You must be signed in to change notification settings - Fork 168
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
[tx] cffread CFF2 fails with extra names in post 2.0 #1045
Comments
afdko/c/public/lib/source/cffread/cffread.c Lines 2003 to 2011 in 7648029
Then copies this many strings from the beginning of the string area in the post table. afdko/c/public/lib/source/cffread/cffread.c Lines 2019 to 2031 in 7648029
If any unused names are included, used names that follow cannot be correctly looked up by post2GetName .afdko/c/public/lib/source/cffread/cffread.c Lines 1847 to 1848 in 7648029
|
tx -cff2
fails with the attached CFF2 font.ots-sanitize reports no problem about the font.
The font contains only one glyph other than
.notdef
but the post table version 2.0 contains extra unused glyph names. This appears to be confusingcffread
.SourceSansPro-Regular-cff2-A.otf.zip
The text was updated successfully, but these errors were encountered: