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
Incorrect use of shape_plan cache with variation fonts #549
Comments
jfkthame
added a commit
that referenced
this issue
Oct 2, 2017
…cified. Fixes #549. This is a temporary hack just to avoid incorrect shaping results, pending proper support for caching shape-plans with variation coordinates.
Thanks. Reopening to fix properly by adding |
@behdad this is fixed now, right? |
Yes. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, hb_shape_plan_create_cached2 doesn't insert a plan in the cache if there were variation coords included in its parameters (see "XXX Fix me" comment in the source).
However, it does still look for an existing plan in the cache (without taking account of variations). This means that if the face has been used with no variation coords, so that a plan has been cached, any future attempt to use it with variations will incorrectly find the existing, no-coord cached plan.
The text was updated successfully, but these errors were encountered: