Chlumsky/msdfgen

Outline effect is not good on some glphys

sry948749099 opened this issue · 4 comments

like this:
aaa

Post the font and all parameters used to generate the SDF.

Post the font and all parameters used to generate the SDF.

Font file:
example.zip

Mode: MSDF
pxRange: 6
font size: 32
render size: 200
shader:
20230830-083459

The issue is that there are these tiny edge segments in the corners which are causing that three different edges occupy a very small area in the SDF, which cannot be encoded properly at the target resolution. Removing them would solve this. I might also have an idea how these edges could be ignored in msdfgen without the need to modify the geometry, will try that out in the weekend.

image

The issue is that there are these tiny edge segments in the corners which are causing that three different edges occupy a very small area in the SDF, which cannot be encoded properly at the target resolution. Removing them would solve this. I might also have an idea how these edges could be ignored in msdfgen without the need to modify the geometry, will try that out in the weekend.

image

Thanks for your response, look forward to your good news!