diff options
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. |
