1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Fonts: added ExtraSizeScale feature (undocumented).

This commit is contained in:
ocornut 2025-12-22 19:57:04 +01:00
parent d1de937c31
commit 55ad3b4abd
4 changed files with 9 additions and 2 deletions

View file

@ -17236,6 +17236,9 @@ void ImGui::DebugNodeFont(ImFont* font)
{
const ImFontLoader* loader = src->FontLoader ? src->FontLoader : atlas->FontLoader;
Text("Loader: '%s'", loader->Name ? loader->Name : "N/A");
//if (DragFloat("ExtraSizeScale", &src->ExtraSizeScale, 0.01f, 0.10f, 2.0f))
// ImFontAtlasFontRebuildOutput(atlas, font);
#ifdef IMGUI_ENABLE_FREETYPE
if (loader->Name != NULL && strcmp(loader->Name, "FreeType") == 0)
{