-
Notifications
You must be signed in to change notification settings - Fork 621
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-view doesn't render anything with this font #2675
Comments
The font has I though the table is bogus, but it seems that hb-view will not show anything for glyphs not covered by |
Is definitely Cairo or FreeType issue since hb-view by itself doesn't do any magic. It might be that What happens if you pass |
When reporting bugs please also specify sample text to reproduce the bug. Thanks. |
Doesn't do anything. I can reproduce. Will look into later. |
The issue happens with other fonts too, for glyphs not covered by |
So, the color glyphs work? |
Yes. |
Removing the Line 123 in ea4476d
makes it display. That might not be the fix because I presume it's if'd out for a reason. But it should be a good place to start looking. |
Basically what that suggests is that it's a bug in cairo's color-glyph processing. Which is what I knew anyway since we don't do any of that. |
Thanks Matthias. |
The intention here is: "if show_text_glyphs is unsupported, try show_gyphs". We need to make sure to set the status to unsupported before checking it, otherwise we end up looking at the status that was set by composite_color_glyphs if show_text_glyphs is NULL. This showed up in harfbuzz/harfbuzz#2675
it seems to work anywhere else (hb-shape included) but hb-view renders an empty image
SN Kh SONY Moul.ttf.zip
source
The text was updated successfully, but these errors were encountered: