Fonts: Amends for support for OpenType SVG fonts using lunasvg (#6591, #6607)

This commit is contained in:
ocornut
2023-08-01 09:33:56 +02:00
parent 2ad8c60abc
commit ab490dc7b8
4 changed files with 55 additions and 73 deletions

View File

@ -54,6 +54,9 @@ Other changes:
- Fonts: ImFontConfig::OversampleH now defaults to 2 instead of 3, since the
quality increase is largely minimal.
- Fonts, imgui_freetype: Added support to render OpenType SVG fonts using lunasvg.
Requires enabling IMGUI_ENABLE_FREETYPE_LUNASVG along with IMGUI_ENABLE_FREETYPE,
and providing headers/libraries for lunasvg. (#6591, #6607) [@sakiodre]
- ImDrawData: CmdLists[] array is now an ImVector<> owned by ImDrawData rather
than a pointer to internal state.
- This makes it easier for user to create their own or append to an existing draw data.