diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-04-10 11:41:29 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-04-10 11:41:29 -0400 |
| commit | a066448effaa9a56c049136067a73ba0156f65d3 (patch) | |
| tree | 7eee2f9db2f23d1847d53f67874d7af0d80732e0 /src/font.cpp | |
| parent | 3fbf01b3466bb94a730cc94fea72ea661ffb9759 (diff) | |
pke: ui box type text cleanup
Diffstat (limited to 'src/font.cpp')
| -rw-r--r-- | src/font.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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. |
