Fonts: fixed dynamically changing font loader from losing Fallback and Ellipsis glyphs. (#8763)

Only the call to ImFontAtlasBuildSetupFontLoader() is the notable change. The change in ImFontAtlasFontInitOutput() is merely to use an existing helper function.
This commit is contained in:
ocornut
2025-07-07 16:50:50 +02:00
parent 57a93e1a19
commit 4ef1145241
2 changed files with 6 additions and 4 deletions

View File

@@ -45,6 +45,8 @@ Other changes:
- Fonts: added ImFontAtlas::SetFontLoader() to dynamically change font
loader at runtime without using internal API. (#8752, #8465)
- Fonts: fixed a bug where dynamically changing font loader would lose
the Fallback and Ellipsis glyphs under some circumstance. (#8763)
- Fonts: for large size fonts, layout/size calculation only load glyphs metrics.
Actual glyphs are renderer+packed when used by drawing functions. (#8758, #8465)
- Fonts: set a maximum font size of 512.0f at ImGui:: API level to reduce