Skip to content

Commit d7454de

Browse files
committed
Font: minor tweak to struct alignment.
1 parent dd89a37 commit d7454de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imgui.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3457,10 +3457,10 @@ struct ImFont
34573457
ImWchar FallbackChar; // 2-4 // out // = FFFD/'?' // Character used if a glyph isn't found.
34583458
float EllipsisWidth; // 4 // out // Width
34593459
float EllipsisCharStep; // 4 // out // Step between characters when EllipsisCount > 0
3460-
bool DirtyLookupTables; // 1 // out //
34613460
float Scale; // 4 // in // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetWindowFontScale()
34623461
float Ascent, Descent; // 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize] (unscaled)
34633462
int MetricsTotalSurface;// 4 // out // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs)
3463+
bool DirtyLookupTables; // 1 // out //
34643464
ImU8 Used8kPagesMap[(IM_UNICODE_CODEPOINT_MAX+1)/8192/8]; // 1 bytes if ImWchar=ImWchar16, 16 bytes if ImWchar==ImWchar32. Store 1-bit for each block of 4K codepoints that has one active glyph. This is mainly used to facilitate iterations across all used codepoints.
34653465

34663466
// Methods

0 commit comments

Comments
 (0)