-
Notifications
You must be signed in to change notification settings - Fork 70
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
Feature RequestL msdfgen 1.4 #12
Comments
Hey @neurolabusc, could you try this branch and let me know if it works for you? It seems to invert my test case font, weird. |
Nice. You just need to change your shader for the new format, as shown on the msdfgen web page. This makes a huge difference in reducing artifacts when the font bitmaps are created with a low resolution or when normal sized bitmaps are scaled to be small. |
My solution was to increase the "x" position by 1/scaleW, the "y" by 1/scaleH and the decrease the width and height by the same amount, but this is a change with respect to how they are represented by Hiero. So perhaps the change could be put into the generator. I think the truth is that with Hiero's standard distance fonts the edges of the quads have no information (they are very distant from the character), but with the new version of msdfgen the hinting extends right to the border of the character's quad. |
Any updates on this? Have the artifacts been resolved? |
Related: soimy#16 (comment)
|
This is a terrific tool. As a feature request, it would be great to upgrade the msdfgen binaries to version 1.4. I can not find documentation on how to compile msdfgen on MacOS, but you did this with the older version. Hopefully you can do the same with the modern version. I have noticed a few artifacts with this older version of msdfgen when gneerating lower-resolution bitmaps.
The text was updated successfully, but these errors were encountered: