2026-01-07 16:36:40 -05:00
|
|
|
type glyph [display="Glyph"]
|
|
|
|
|
{
|
2026-01-11 12:09:57 -05:00
|
|
|
u16 letter;
|
|
|
|
|
|
|
|
|
|
ui("letter", "Letter");
|
|
|
|
|
i8 x0;
|
|
|
|
|
|
|
|
|
|
ui("x0", "X0");
|
|
|
|
|
i8 y0;
|
|
|
|
|
|
|
|
|
|
ui("y0", "Y0");
|
|
|
|
|
i8 dx;
|
|
|
|
|
|
|
|
|
|
ui("dx", "DX");
|
|
|
|
|
i8 pixel_width;
|
|
|
|
|
|
|
|
|
|
ui("pixel_width", "Pixel Width");
|
|
|
|
|
i8 pixel_height;
|
|
|
|
|
|
|
|
|
|
ui("pixel_height", "Pixel Height");
|
|
|
|
|
i8 pitch;
|
|
|
|
|
|
|
|
|
|
ui("pitch", "Pitch");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
|
|
|
|
// UV coordinates (4 floats = 16 bytes)
|
|
|
|
|
// Read as raw bytes since we don't have float type yet
|
2026-01-11 12:09:57 -05:00
|
|
|
uv_coords = read(16);
|
|
|
|
|
|
|
|
|
|
ui("uv_coords", "UV Coords");
|
2026-01-07 16:36:40 -05:00
|
|
|
|
|
|
|
|
// Padding to align to 32 bytes total (8 + 16 = 24, need 8 more)
|
|
|
|
|
skip(8);
|
|
|
|
|
}
|