You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: imgui.cpp
+1
Original file line number
Diff line number
Diff line change
@@ -430,6 +430,7 @@ CODE
430
430
When you are not sure about an old symbol or function name, try using the Search/Find function of your IDE to look for comments or references in all imgui files.
431
431
You can read releases logs https://github.com/ocornut/imgui/releases for more details.
432
432
433
+
- 2025/02/03 (1.91.9) - removed ImFontConfig::GlyphExtraSpacing option which seems largely obsolete and unused. If you were using this please report it!
433
434
- 2025/01/22 (1.91.8) - removed ImGuiColorEditFlags_AlphaPreview (made value 0): it is now the default behavior.
434
435
prior to 1.91.8: alpha was made opaque in the preview by default _unless_ using ImGuiColorEditFlags_AlphaPreview. We now display the preview as transparent by default. You can use ImGuiColorEditFlags_AlphaOpaque to use old behavior.
435
436
the new flags (ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg + existing ImGuiColorEditFlags_AlphaPreviewHalf) may be combined better and allow finer controls:
Copy file name to clipboardExpand all lines: imgui.h
+3-3
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
// Library Version
30
30
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
31
31
#defineIMGUI_VERSION"1.91.9 WIP"
32
-
#defineIMGUI_VERSION_NUM19181
32
+
#defineIMGUI_VERSION_NUM19182
33
33
#defineIMGUI_HAS_TABLE
34
34
35
35
/*
@@ -3257,7 +3257,7 @@ struct ImFontConfig
3257
3257
int OversampleH; // 0 (2) // Rasterize at higher quality for sub-pixel positioning. 0 == auto == 1 or 2 depending on size. Note the difference between 2 and 3 is minimal. You can reduce this to 1 for large glyphs save memory. Read https://github.com/nothings/stb/blob/master/tests/oversample/README.md for details.
3258
3258
int OversampleV; // 0 (1) // Rasterize at higher quality for sub-pixel positioning. 0 == auto == 1. This is not really useful as we don't use sub-pixel positions on the Y axis.
3259
3259
float SizePixels; // // Size in pixels for rasterizer (more or less maps to the resulting font height).
3260
-
ImVec2 GlyphExtraSpacing; // 0, 0 // Extra spacing (in pixels) between glyphs when rendered: essentially add to glyph->AdvanceX. Only X axis is supported for now.
3260
+
//ImVec2 GlyphExtraSpacing; // 0, 0 // (REMOVED AT IT SEEMS LARGELY OBSOLETE. PLEASE REPORT IF YOU WERE USING THIS). Extra spacing (in pixels) between glyphs when rendered: essentially add to glyph->AdvanceX. Only X axis is supported for now.
3261
3261
ImVec2 GlyphOffset; // 0, 0 // Offset all glyphs from this font input.
3262
3262
const ImWchar* GlyphRanges; // NULL // THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE. Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list).
3263
3263
float GlyphMinAdvanceX; // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font
@@ -3281,7 +3281,7 @@ struct ImFontGlyph
3281
3281
unsignedint Colored : 1; // Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops)
3282
3282
unsignedint Visible : 1; // Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering.
3283
3283
unsignedint Codepoint : 30; // 0x0000..0x10FFFF
3284
-
float AdvanceX; //Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)
3284
+
float AdvanceX; //Horizontal distance to advance layout with
0 commit comments