diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2026-10-12 17:09:59 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2026-10-12 17:09:59 +0200 |
| commit | a198fa3491b729bb0f2bf9ca110da42813608c0a (patch) | |
| tree | 4e9524f5b2a9fec6c1ddb86091f2cd226823ba4a | |
| parent | 0f02ed39c8488deef8168abe5fbe2860b6999f24 (diff) | |
debug
| -rw-r--r-- | src/vkvg_fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vkvg_fonts.c b/src/vkvg_fonts.c index 9e6f2cf..3752c8d 100644 --- a/src/vkvg_fonts.c +++ b/src/vkvg_fonts.c @@ -798,7 +798,7 @@ void text_run_init(VkvgFont font, vkvg_direction_t textDirection, const char* te #else uint32_t gIndex = stbtt_FindGlyphIndex(&textRun->font->face->stbInfo, tmp[i]); #endif - glyph_ref cr = get_cached_glyph(textRun->dev, textRun->font, gIndex); + glyph_ref cr = get_cached_glyph(textRun->font->dev, textRun->font, gIndex); textRun->glyphs[i].codepoint = gIndex; textRun->glyphs[i].x_advance = cr.advance.x; textRun->glyphs[i].y_advance = cr.advance.y; |