-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
First of all this is a great tool, I love it, thank you very much.
I have a stupid problem about the font sizes. But I 'm not sure why this is happening or what is wrong. I'll be glad if you can point me to the right direction.
Here is my font icon result. As you can see only (blue area) more than half of them is active. Looks like their size is wrong. This also cause a problem MainMenuBar's size(height) and those icons are not at the center of it.

My settings:
I guess merging fonts cause this problem. When I disable merging, it works
// ImGui::GetIO().Fonts->AddFontDefault();
static const ImWchar icons_ranges[] = {ICON_MIN_FileMenu, ICON_MAX_FileMenu, 0};
ImFontConfig icons_config;
// icons_config.MergeMode = true;
icons_config.PixelSnapH = true;
ImGui::GetIO().Fonts->AddFontFromMemoryCompressedBase85TTF(FONT_ICON_BUFFER_NAME_FileMenu, 22.0f, &icons_config, icons_ranges);Is there a way to fix this? Any suggestions?
Thank you

