-
Notifications
You must be signed in to change notification settings - Fork 41
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
Graphite fonts don't show up #317
Comments
It does not work on 45 with or without graphite enabled either. Not a launch blocker but we should fix the underlying security issue and then see what's gone wrong. |
If we do this, we should just update to whatever's in 52 first. There are many upstream changes. |
The security aspects of Graphite are now becoming a concern. See https://bugzilla.mozilla.org/show_bug.cgi?id=1331915 . Unless there's an easy upstream update, this might become wontfix. |
Even with all the updates, they still don't appear. OTS does not filter the font and calls them valid. With debugging in Graphite2 itself, we get this:
|
Commenting out the call to |
It's not correctly validating the |
It looks like a padding problem. The size of the loaded table is two bytes shorter than
|
(iow, the struct is two bytes longer than what is actually in the table) |
Since the glyph data format field also matches, the extra two bytes must be at the end. This is probably an artifact of alignment, so I'm going to change the table function that allocates sizes to round up to the nearest 32-bit word. |
Tested working on the Graphite Demo page. |
It always falls back on harfbuzz rendering. We should also verify the collision fixing at the bottom of the page if we get Fx45 up.
http://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_fontdemo
The text was updated successfully, but these errors were encountered: