Structs§
- Msdf
Font - MSDF font descriptor with atlas texture and glyph metrics.
- Msdf
Font Store - MSDF font storage, keyed by a font ID.
- Msdf
Glyph - Glyph metrics for one character in an MSDF atlas.
Constants§
- MSDF_
FRAGMENT_ SOURCE - The MSDF fragment shader source (used with ShaderStore::create). This is the fragment portion only; the standard vertex preamble and ShaderParams uniform are prepended by the ShaderStore automatically.
Functions§
- generate_
builtin_ msdf_ font - Generate a built-in MSDF font from the CP437 8x8 bitmap data.
- parse_
msdf_ metrics - Parse MSDF font metrics from a JSON string (msdf-atlas-gen format).