From a066448effaa9a56c049136067a73ba0156f65d3 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 10 Apr 2025 11:41:29 -0400 Subject: pke: ui box type text cleanup --- src/font.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/font.cpp') diff --git a/src/font.cpp b/src/font.cpp index 03ca3fd..9c8f1bc 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -30,6 +30,8 @@ const char *PKE_PROJECT_FONT_SPACING_UNDERLINE_THICKNESS = "spacing_underline_th TypeSafeInt_B(FontTypeIndex); TypeSafeInt_B(FontRenderIndex); +TypeSafeInt_B(FONT_GLYPH_CHAR_FLAG); +TypeSafeInt_B(FONT_RENDER_SURFACE_AREA_TYPE_FLAG); struct FontTypeData { FontType *arr_ft; @@ -120,6 +122,9 @@ void FontType_Inner_CalcTransforms(const FontType *ft, FontRender *fr, FontInsta glm::vec3 translate; glm::vec3 scale; + // TODO 2025-04-10 - JCB PERF + // consider adding early-out when we exceed the bounding-box limits. + // TODO 2025-02-18 - JCB // Trying to get pixel-perfect rendering with mannequin-7. // Everything is now sized and positioned correctly. -- cgit v1.2.3