-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Inter Variable rendering incorrectly #369
Comments
Sorry, I thought this was asking for support for the variable output. (I couldn’t see the detail on my phone) If you use |
I don't think that's a bug, the issue is that fonts expect to be rendered with the NoneZero Intersection Rule (which our drawText apis do for you) but the |
FYI the |
Thanks @tocsoft ! |
Thanks for help and explanation |
Is there a way to detect when a font needs NonZero or not, without visually looking at it? Surely there is somewhere, but I'm not seeing where DrawText deals with that (and for my situation I need transformations at the glyph level). |
On closer inspection, it looks like buried deep in RichTextGlyphRenderer it always uses NonZero, unless I'm reading something wrong. Is that just always correct? |
Yeah TrueType and CFF fonts always use NonZero |
Hi, i'm trying to render text with the https://rsms.me/inter/ font but the result is not correct.
Resulting image
Test environment
The text was updated successfully, but these errors were encountered: