-
Notifications
You must be signed in to change notification settings - Fork 592
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
Bug with Recursive font #3506
Comments
Interestingly, upstream files or even file downloaded directly from Google Fonts git repository do not show this problem:
cc @rsheeter in case the download zip from the website is modified by some tool. |
Reproduces for me. |
There's a bug inside gvar's |
Looks to me like
|
I think we should apply this change regardless: diff --git a/src/hb-ot-glyf-table.hh b/src/hb-ot-glyf-table.hh
index 066e152da..b4ac68834 100644
--- a/src/hb-ot-glyf-table.hh
+++ b/src/hb-ot-glyf-table.hh
@@ -820,8 +820,7 @@ struct glyf
}
#ifndef HB_NO_VAR
- if (unlikely (!glyf_accelerator.gvar->apply_deltas_to_points (gid, font, points.as_array ())))
- return false;
+ glyf_accelerator.gvar->apply_deltas_to_points (gid, font, points.as_array ());
#endif
switch (type) { |
HarfBuzz seems to have a problem applying variations to some glyphs of Recursive font downloaded from https://fonts.google.com/specimen/Recursive:
hb-view
also produces a blank image. FreeType font functions work fine:Recursive.zip
The text was updated successfully, but these errors were encountered: