soimy / msdf-bmfont-xml

Generate BMFont texture and spec XML using msdfgen
https://soimy.github.io/msdf-bmfont-xml/
MIT License
316 stars 46 forks source link

Sometimes generated MSDF has holes in it / incomplete data #88

Open hybridherbst opened 1 year ago

hybridherbst commented 1 year ago

Seems in some cases, generated MSDF data is only partially there, or just outlines (as the "m" character here). This results in those characters rendering incorrectly of course.

image

The "workaround" is adding a few characters to the charset to shuffle it again; but then again one has a chance to now have other missing letters.

Is this a known problem? Any ideas? Thanks a lot!

marwie commented 1 year ago

Here are some more files showing the issue: msdf broken.zip

arial

image (1)

soimy commented 1 year ago

Sorry, currently very busy on other project. Can you try compile the latest msdfgen for your own platform and replace the binary inside bin\platfrom eg. win32 and give it another shot?