Files
Virgile Bello 7128ee1d70 Stride.Assets: frame SDF glyphs inside the msdfgen wrapper
The C# importer hand-computed msdfgen's scale/translate across three coordinate
systems and got the glyph bounds wrong, producing flat single-distance bitmaps
(garbage SDF). Move the framing into the wrapper: msdfgenGenerateGlyph frames the
glyph from shape.getBounds() and returns the bitmap, pixel offsets and advance, so
the importer does no coordinate math. Rebuild stride_msdfgen for the new entry
point (msdfgen v1.12, FreeType VER-2-13-3).

Tests: TestSignedDistanceFieldFont asserts glyph metrics; TestStaticSpriteFont
gains an SDF rendering frame exercising the importer + SDF shader end to end.
2026-06-10 06:04:06 +00:00
..
2018-06-19 18:07:32 +09:00