(Breaking) Fonts: Removed support for PushFont(NULL) which was a shortcut for "default font".

This commit is contained in:
ocornut
2025-06-24 14:44:38 +02:00
parent 6e846c56b4
commit 6722d789e9
2 changed files with 6 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ Breaking changes:
(not desirable as it requires e.g. all third-party code to be aware of it).
- ImFont::FontSize was removed and does not make sense anymore.
ImFont::LegacySize is the size passed to AddFont().
- Removed support for PushFont(NULL) which was a shortcut for "default font".
- Renamed/moved 'io.FontGlobalScale' to 'style.FontScaleMain'.
- Fonts: **IMPORTANT** on Font Merging:
- When searching for a glyph in multiple merged fonts: font inputs are now scanned in order