|
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 | #define IMGUI_VERSION "1.91.9 WIP"
|
32 |
| -#define IMGUI_VERSION_NUM 19182 |
| 32 | +#define IMGUI_VERSION_NUM 19183 |
33 | 33 | #define IMGUI_HAS_TABLE
|
34 | 34 |
|
35 | 35 | /*
|
@@ -3257,11 +3257,12 @@ 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 // (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. |
| 3260 | + //ImVec2 GlyphExtraSpacing; // 0, 0 // (REMOVED IN 1.91.9: use GlyphExtraAdvanceX) |
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
|
3264 | 3264 | float GlyphMaxAdvanceX; // FLT_MAX // Maximum AdvanceX for glyphs
|
| 3265 | + float GlyphExtraAdvanceX; // 0 // Extra spacing (in pixels) between glyphs. Please contact us if you are using this. |
3265 | 3266 | unsigned int FontBuilderFlags; // 0 // Settings for custom font builder. THIS IS BUILDER IMPLEMENTATION DEPENDENT. Leave as zero if unsure.
|
3266 | 3267 | float RasterizerMultiply; // 1.0f // Linearly brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable. This is a silly thing we may remove in the future.
|
3267 | 3268 | float RasterizerDensity; // 1.0f // DPI scale for rasterization, not altering other font metrics: make it easy to swap between e.g. a 100% and a 400% fonts for a zooming display. IMPORTANT: If you increase this it is expected that you increase font scale accordingly, otherwise quality may look lowered.
|
|
0 commit comments