Skip to content
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

How can I solve these problem? #94

Closed
wu-kang66 opened this issue Feb 24, 2024 · 11 comments
Closed

How can I solve these problem? #94

wu-kang66 opened this issue Feb 24, 2024 · 11 comments

Comments

@wu-kang66
Copy link

1
2
3

@Chlumsky
Copy link
Owner

Post the font and character codes.

@wu-kang66
Copy link
Author

@Chlumsky, I know the reason. there is some problem in the font, I replace it.

@Chlumsky
Copy link
Owner

Yes, but Skia geometry preprocessing should take care of it. If this happens in a version with Skia preprocessing enabled, I would still be interested in debugging it.

@wu-kang66
Copy link
Author

@Chlumsky
Copy link
Owner

Chlumsky commented May 7, 2024

Thanks for bringing this to my attention. I have made some improvements to geometry preprocessing and problems like these should be dramatically reduced now. If you use this font with Skia preprocessing and overlapping contours disabled (it is not needed when Skia is used), there should no longer be any artifacts.

@Chlumsky Chlumsky closed this as completed May 7, 2024
@wu-kang66
Copy link
Author

@Chlumsky Thank you very much for so serious to the problem.

@wu-kang66
Copy link
Author

@Chlumsky,is it the Skia preprocessing ? How can I use it?
https://github.com/micycle1/processing-skia

@Chlumsky
Copy link
Owner

No, you just have to make sure that the CMake option MSDF_ATLAS_USE_SKIA is enabled when building msdf-atlas-gen and then it should be resolved automatically.

@wu-kang66
Copy link
Author

How should I do is? is it an option, Which is it?
2024-05-19_101511

@Chlumsky
Copy link
Owner

You are still using the old version. First of all, you need to build the version in master and make sure that Skia is linked. Then you just run it normally.

@wu-kang66
Copy link
Author

@Chlumsky Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants