4 ms·
> The disadvantage is that text effects like glow and stroke are tricker as you tend to get sharp edges and artefacts. This is going to happen with every SDF f
by pcwalton 7y ago
> The disadvantage is that text effects like glow and stroke are tricker as you tend to get sharp edges and artefacts.
This is going to happen with every SDF format. The problem is that SDFs can fundamentally only encode the distance to a small fixed number of lines per texel. For regular SDF, that number is one; for mSDF, that number is two. If the complexity of the shape exceeds that (as can happen for complex fonts such as CJK fonts with small SDFs), then artefacts will occur.