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
Cannot use OTF as webfont #283
Comments
The generated webfont is indeed rejected by Chrome with a It seems that removing the empty keys
|
Oh, that issue was fixed in ufo2ft last year, the patch is in since version 0.4.0 Recompiling the fonts with updated ufo2ft should fix the problem. The latest OTS no longer complains about these empty blues operators: Should go away once Chrome/Firefox update their embedded OTS copy |
the solution suggested by @RoelN is quicker than recompiling the fonts from source. Just dump with ttx, strip those two empty values, and recompile with ttx. |
If I understand there are in fact two issues at the same time:
Is that right? |
correct |
Should I open a PR to update requirements then? |
it might not be so straightforward as other things may break, but you can try. cc @m4rc1e |
Indeed just requiring ufo2ft==0.4.0 breaks things.
|
related issue #239 |
Ouch guess I'll have to be patient. |
Apologies for the delay. I remember ufo2ft would set incorrect advance widths for glyphs made from components. We had to release and update the solve this. e2c5a2f I think this has been fixed in ufo2ft. In the next release, I'll update the ufo2ft dependency. |
Nice! Do you have any idea when this could be released? |
@m4rc1e seems there is no more activity on this repository, has Roboto been moved somewhere else? |
@MatTheCat We're actively working on it. Unfortunately these things take time. |
No problem I understand; just wanted to make sure thanks. |
I guess https://github.com/typenetwork/roboto is to be used instead. |
Following instructions on the README I generated font files I later tried to subset using pyftsubset, which led me to fonttools/fonttools#1134
When I try to load Roboto-Regular.otf or any subset Chrome tells me he failed to decode the font. However ots-sanitize tells me all is fine.
What's going on?
The text was updated successfully, but these errors were encountered: