summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-11-23 16:03:51 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-11-23 16:03:51 -0500
commit64db50cf0657c83740276c3869e4cb6304020cf6 (patch)
tree28e83ae4ec6abe239da4ff84e918963d7d5e7cf0 /src
parent057734d30afad9d5facf3d7697c2bd5873f23fca (diff)
pke: chkpt: more font positioning work, add tests
Diffstat (limited to 'src')
-rw-r--r--src/font.cpp2
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);