mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
imgui_freetype: fixed a packing issue which in some occurrences would prevent large amount of glyphs from being packed correctly. (#5788, #5829)
This seemingly innocuous change sursingly had very large side-effects of completly breaking packing for the test font mentioned in above issue. Not even sure why tbh. New code matches what stb_truetype's stbtt_PackBegin() does.
This commit is contained in:
@ -67,6 +67,8 @@ Other changes:
|
||||
- Misc: added GetItemID() in public API. It is not often expected that you would use this,
|
||||
but it is useful for Shortcut() and upcoming owner-aware input functions which wants to
|
||||
be implemented with public API.
|
||||
- Fonts: imgui_freetype: fixed a packing issue which in some occurrences would prevent large
|
||||
amount of glyphs from being packed correctly. (#5788, #5829)
|
||||
- Fonts: added a 'void* UserData' field in ImFontAtlas, as a convenience for use by
|
||||
applications using multiple font atlases.
|
||||
- Demo: added "Inputs->Shortcut Routing" section.
|
||||
|
Reference in New Issue
Block a user