You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry I'm not really around at the moment so I can't take a proper look at this, but I've found that the clarity and sharpness of the resulting rendered glyph also largely depends on how you utilize the msdf to render the text.
Here is an example of usage, where the resulting rendered text is pretty good looking at even small sizes.
Also keep in mind that the glyph size of the msdf bitmap shouldn't be pushed too small, I'd personally stick to ~32x32 or so, anything smaller and the quality starts to decline pretty quickly.
Personal note - I think this is a really janky implementation, and I wouldn't really use this for production. if you can afford it, then I recommend using Viktor Chlumský.'s implementation to pre-generate the msdf bitmap. If you do this and find that you're still getting blurry text, then I guess the issue is further down your rendering pipeline.
Hey,
I'm using an almost identical version of
main.c
but with the following changes:The result is pretty blurry:


I tried setting


size_sdf
to smaller values like14
but the quality is still not too great:Perhaps I'm doing something wrong. How can I improve the result?
The text was updated successfully, but these errors were encountered: