Fonts: AddFontDefault() uses framebuffer scale.

If running before DisplaySize is set, assume a different default on Apple.
This commit is contained in:
ocornut
2026-08-03 15:00:05 +02:00
parent ebd752a0ec
commit b647af2100
2 changed files with 11 additions and 2 deletions

View File

@@ -43,6 +43,11 @@ Breaking Changes:
Other Changes:
- Fonts:
- Reworked `AddFontDefault()` to use `io.DisplayFrameBufferScale` as part of the heuristic
to select `AddFontDefaultVector()` by default, effectively using ProggyForever instead of
ProggyClean on most Mac setups by default.
-----------------------------------------------------------------------
VERSION 1.92.9b (Released 2026-07-31)