Fonts: Better assert during load when passing truncated font data or wrong data size. (#6822)

This commit is contained in:
ocornut
2023-09-14 14:40:19 +02:00
parent c32db3c72b
commit 32171a8b0c
3 changed files with 10 additions and 5 deletions

View File

@ -71,6 +71,7 @@ Other changes:
- Fonts: 'float size_pixels' passed to AddFontXXX() functions is now rounded to lowest integer.
This is because our layout/font system currently doesn't fully support non-integer sizes. Until
it does, this has been a common pitfall leading to more or less subtle issues. (#3164, #3309, #6800)
- Fonts: Better assert during load when passing truncated font data or wrong data size. (#6822)
- InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer.
(regression from 1.89.2, only happened in some states). (#6783, #6000)
- InputTextMultiline: Fixed Tabbing cycle leading to a situation where Enter key wouldn't