fix glyph positions

This commit is contained in:
boolean-false 2026-09-27 17:33:55 +07:00
parent bac0d43fd7
commit 64ba1dad4e
3 changed files with 24 additions and 21 deletions

View file

@ -26,6 +26,7 @@ namespace vector_fonts {
struct Glyph {
int yOffset;
int xAdvance;
int xOffset = 0;
};
class Font {