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
Add CFF2 support #175
Comments
Hmm, good catch. I wonder how Firefox and Chrome are handling this, passing |
I’m told that Apple does not support |
Firefox 64 seems to just refuse to load CFF2 VFs. |
Yeah, Firefox doesn't currently accept CFF2 webfonts; it just hasn't become a priority yet. In particular, without support in macOS, it seems of limited value. |
OTS is not opened up for CFF2 yet in Chromium - but I should do that. We always have FreeType as a fallback backend and choose it when needed. |
I thought that this line would prevent the Line 712 in dc36d4d
...and yet I still see it with OTS 7.1.9: cchapman-macOS:OTF cchapman$ ots-sanitize --version
ots 7.1.9
cchapman-macOS:OTF cchapman$ ots-sanitize AdobeBlackVF.otf
WARNING: STAT: Unexpected non-zero offsetToAxisValueOffsets
ERROR: no supported glyph shapes table(s) present
Failed to sanitize file! >>> font = TTFont('AdobeBlackVF.otf')
>>> font.keys()
['GlyphOrder', 'head', 'hhea', 'maxp', 'OS/2', 'hmtx', 'cmap', 'name', 'post', 'BASE', 'CFF2', 'GSUB', 'HVAR', 'STAT', 'VORG', 'VVAR', 'fvar', 'vhea', 'vmtx', 'DSIG'] |
That would have effect if either the |
#193 adds CFF2 support, code review and/or testing is appreciated. |
Currently ots-sanitize can't recognize CFF2 fonts.
The text was updated successfully, but these errors were encountered: