-
Notifications
You must be signed in to change notification settings - Fork 39
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
Sync with 2.8.2 #82
Sync with 2.8.2 #82
Conversation
It seems that the |
In HB’s .map_or(true, |tag| tag.to_bytes()[3] != b'2'); makes |
… None For some reason, HarfBuzz sometimes has this set to a concerning 0xFFFF. This will pass the `(plan->map.chosen_script[0] & 0x000000FFu) != '2'` check.
0xFFFF is a special value in GSUB/GPOS. Maybe this. |
Also: /**
* HB_OT_LAYOUT_NO_SCRIPT_INDEX:
*
* Special value for script index indicating unsupported script.
*/
#define HB_OT_LAYOUT_NO_SCRIPT_INDEX 0xFFFFu |
In rustybuzz we use |
@behdad Would you mind clarifying this line of code? I know it's 11 years old, but still. (plan->map.get_chosen_script (0) & 0x000000FF) != '2' Why we're checking the last byte and why it must not be |
@bluebear94 harfbuzz/harfbuzz@855a3f4 doesn't affect us, right? Or you haven't finished 2.8.2 yet? |
I don’t believe it does.
No, I still have some commits to go through. |
harfbuzz/harfbuzz@bb48bf5 Note that only one of the occurrences affected is present in our code.
I think these cover all the relevant changes. |
All good. Thanks! |
5257 commits left... |
This is checking for old Indic script tags ( |
Thanks. Not it makes sense. |
The Indic scripts have two tags. Old and new. The old tag for Devanagari is |
@behdad Thanks! |
Troublesome commits so far:
in_house::cluster_004
test fails:Could this be another rounding error?Not likely, the things that are wrong are the cluster indices.