-
Notifications
You must be signed in to change notification settings - Fork 606
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
hb_set_intersect appears to be broken in 1.6.2 #579
Comments
On second glance, neither result there looks correct, actually: in the second example, the "intersection" includes a GID that was not present in the inputGlyphs set. Oops! |
That's why I hated implementing my own set... I'll take a look soon. |
Separately, I'm interested to learn more about how you use this stuff in Firefox. I know about the word cache usage, but this sounds like something different. |
Humm. I added a test for the samples you provide, but it's passing. |
@jfkthame any chance you can debug this a bit? |
See PR#582 for a test that fails (at least for me). Haven't tried to debug yet. |
With the second commit in #582, the added test now passes for me. |
We use this when determining whether a feature such as superscript covers all the glyphs that are present in an element styled with |
Cool. Thanks. FYI @drott |
I'm seeing unexpected results from hb_set_intersect (often, but not invariably, returning an empty result, when the two sets did have some intersection).
This is breaking behavior in Firefox, where it is wanting to determine whether a given feature supports all the glyphs in a text run.
E.g.
But:
For a given pair of sets, the result is consistent, but it's not obvious why the one case fails while the other succeeds.
The text was updated successfully, but these errors were encountered: