ocornut
|
59a11363a5
Fonts: ground work for allowing SizePixels to be optional.
|
2 månader sedan |
ocornut
|
1e118ab891
Fonts: added ImGuiStyle::FontSizeBase. Ensuring PushFontSize() works before main loop and across NewFrame().
|
2 månader sedan |
ocornut
|
b029be6b6c
Fonts: avoid calling GetFontBaked() during SetFontSize(). Also fixes loading extraneous baked on atlas that will be locked
|
2 månader sedan |
ocornut
|
033cdc4133
Fonts: comments and slight packing of ImFontConfig fields.
|
2 månader sedan |
ocornut
|
69547bd4bd
Fonts: ImFont::DefaultSize -> ImFont::LegacySize. ImFontFlags_UseDefaultSize -> ImFontFlags_DefaultToLegacySize.
|
2 månader sedan |
ocornut
|
e3860aa6ac
(Breaking) Fonts: removing obsolete ImFont::Scale.
|
2 månader sedan |
ocornut
|
25f9c318e3
Fonts: added "Input Glyphs Overlap Detection Tool". Added "Clear bakes", "Clear unused" buttons. Move code.
|
2 månader sedan |
ocornut
|
5926c877a1
Fonts: detect if ImFontAtlasUpdateNewFrame() is not being called.
|
2 månader sedan |
ocornut
|
b2343d6247
Fonts: fallback to default default rasterizer density + pick one from existing viewports at the time of calling AddUpdateViewport().
|
2 månader sedan |
ocornut
|
f3780c7354
Fonts: adding GetFontBaked() in public API.
|
2 månader sedan |
ocornut
|
5ee9845559
Fonts: automatically set current rasterizer density to viewport density. Effectively should fix most things on macOS.
|
2 månader sedan |
ocornut
|
39f6c793b3
Fonts: proof of concept support for user textures.
|
2 månader sedan |
ocornut
|
91ed6e67b4
Fonts: fixed support for multiple atlases.
|
2 månader sedan |
ocornut
|
fad5280d4c
Fonts: fixed broken support for legacy backend due to a mismatch with initial pre-build baked id.
|
2 månader sedan |
ocornut
|
46fa9e8efb
Fonts: Debug display status. Fixed truncated raw texture id. Fixed FormatTextureIDForDebugDisplay(). Comments.
|
2 månader sedan |
ocornut
|
b32ef3c05d
Fonts: make RasterizerDensity a dynamic field. (temporarily exposed as SetFontRasterizerDensity()).
|
3 månader sedan |
ocornut
|
8140a9d8a6
Fonts: comments on ImTextureData fields.
|
3 månader sedan |
ocornut
|
2b0d49a905
Fonts: make ImFont::Sources a vector.
|
3 månader sedan |
ocornut
|
890fff92fd
Fonts: rename many internal functions for consistency. No other changes.
|
3 månader sedan |
ocornut
|
c4fa9bb61f
Fonts: add ImFontGlyph::SourceIdx. Extract code out of DebugNodeFont() into DebugNodeFontGlyphesForSrcMask().
|
3 månader sedan |
ocornut
|
bcd1a94b89
Fonts: Extract ImFontAtlasBuildGetFontBaked() out of ImFont::GetFontBaked() mostly for consistency with upcoming changes + tweak locals in AddFont().
|
3 månader sedan |
ocornut
|
c43b138a69
Fonts: no need to load current baked on SkipItems window? + removed unused field.
|
3 månader sedan |
ocornut
|
ed2bb2cff0
Fonts: encode additional data in ImFontAtlasRectId to detect invalid id + added Rects debug browser.
|
3 månader sedan |
ocornut
|
fb5c537080
Fonts: changing loader/backend or loader flags may be done without losing custom rects. Sharing more code.
|
4 månader sedan |
ocornut
|
074bf39e40
Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data.
|
4 månader sedan |
ocornut
|
44498825cd
(Breaking) Fonts: PushFont() default to preserve current font size.
|
4 månader sedan |
ocornut
|
168b97c291
Fonts: removed size rounding in AddFont() which breaks relative sizing of merged fonts (8502)
|
4 månader sedan |
ocornut
|
0fff7ceda4
Fonts: comments, tweaks, minor amends.
|
4 månader sedan |
ocornut
|
cc65015e4e
Fonts: fixed crashing password fields.
|
4 månader sedan |
ocornut
|
4048494aa1
Fonts: rename ImFontAtlasBuildClearTexture() to ImFontAtlasBuildClear().
|
4 månader sedan |