-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Artifact on a certain glyph #193
Comments
having similar issue with some letters |
@AndrewPech6-dev If you don't use Skia preprocess, then you have to pass in a shape without self intersections: But yes, distance fields can't deal very well with these angles: |
Thank you, I did not see that intersection. I have other intersection tools that I can use to resolve this. |
To reproduce: Save the following as
shape.txt
:(Taken from the
a
glyph in Inter. For various reasons, this isn’t reproducible by letting msdfgen load the glyph from the font file.)Run:
When the resulting distance field is rendered, there is an artifact near the tail of the
a
:The artifact is less pronounced when
-scale 0.99
or-scale 1.01
is passed in.The text was updated successfully, but these errors were encountered: