diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-23 16:03:51 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-11-23 16:03:51 -0500 |
| commit | 64db50cf0657c83740276c3869e4cb6304020cf6 (patch) | |
| tree | 28e83ae4ec6abe239da4ff84e918963d7d5e7cf0 /src | |
| parent | 057734d30afad9d5facf3d7697c2bd5873f23fca (diff) | |
pke: chkpt: more font positioning work, add tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/font.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/font.cpp b/src/font.cpp index fd35019..9b38d69 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -1034,7 +1034,6 @@ FontTypeRender FontType_AddStringRender(FontTypeHandle font_type_handle, const p FontType_cstr_to_unicode(*ft, glyph_indices, str); - // TODO specific bucket count = glyph_indices.next; fr->n_glyphs = count; fr->glyph_indices = pk_new_arr<uint32_t>(count, ftd.bkt); @@ -1084,7 +1083,6 @@ void FontType_UpdateStringRenderText(FontTypeRender ftr, pk_cstr &&cstr) { FontType_cstr_to_unicode(*ft, glyph_indices, cstr); - // TODO specific bucket count = glyph_indices.next; fr.n_glyphs = count; fr.glyph_indices = pk_new_arr<uint32_t>(count, ftd.bkt); |
