ocornut
|
25f9c318e3
Fonts: added "Input Glyphs Overlap Detection Tool". Added "Clear bakes", "Clear unused" buttons. Move code.
|
2 mesi fa |
ocornut
|
5926c877a1
Fonts: detect if ImFontAtlasUpdateNewFrame() is not being called.
|
2 mesi fa |
ocornut
|
9f8b4bdaf1
Fonts: fixed edge case calling RenderText() without priming with CalcTextSize().
|
2 mesi fa |
ocornut
|
b2343d6247
Fonts: fallback to default default rasterizer density + pick one from existing viewports at the time of calling AddUpdateViewport().
|
2 mesi fa |
ocornut
|
822903e56d
Fonts: fixed ImFontAtlas::RemoveFont() with multiple sources.
|
2 mesi fa |
ocornut
|
5ee9845559
Fonts: automatically set current rasterizer density to viewport density. Effectively should fix most things on macOS.
|
2 mesi fa |
ocornut
|
fad5280d4c
Fonts: fixed broken support for legacy backend due to a mismatch with initial pre-build baked id.
|
2 mesi fa |
ocornut
|
65e6039979
Fonts: remove unnecessary ImDrawListSharedData::FontAtlas which is actually getting in the way of using multiple atlases.
|
2 mesi fa |
ocornut
|
46fa9e8efb
Fonts: Debug display status. Fixed truncated raw texture id. Fixed FormatTextureIDForDebugDisplay(). Comments.
|
2 mesi fa |
ocornut
|
f6735c223c
Fonts: remove ImFontHooks in favor of a AddRemapChar() implementation.
|
3 mesi fa |
ocornut
|
89e880dfd1
Fonts: adding ImFontHooks for codepoint remapping.
|
3 mesi fa |
ocornut
|
8523cbdf58
Fonts: rework ImFontLoader::FontBakedLoadGlyph() interface
|
3 mesi fa |
ocornut
|
4dec946ae6
Fonts: don't pretend to half recover from OOM for now + debug log filename on load failure.
|
3 mesi fa |
ocornut
|
b32ef3c05d
Fonts: make RasterizerDensity a dynamic field. (temporarily exposed as SetFontRasterizerDensity()).
|
3 mesi fa |
ocornut
|
5310f5fba3
Fonts: rework toward reducing reliance on ImFontConfig::DstFont since we ought to separate them.
|
3 mesi fa |
ocornut
|
2b0d49a905
Fonts: make ImFont::Sources a vector.
|
3 mesi fa |
ocornut
|
e7efe94fd2
Fonts: shallow rework of ImFontAtlasBakedAddFontGlyph() to facilitate upcoming change.
|
3 mesi fa |
ocornut
|
890fff92fd
Fonts: rename many internal functions for consistency. No other changes.
|
3 mesi fa |
ocornut
|
c4fa9bb61f
Fonts: add ImFontGlyph::SourceIdx. Extract code out of DebugNodeFont() into DebugNodeFontGlyphesForSrcMask().
|
3 mesi fa |
ocornut
|
bcd1a94b89
Fonts: Extract ImFontAtlasBuildGetFontBaked() out of ImFont::GetFontBaked() mostly for consistency with upcoming changes + tweak locals in AddFont().
|
3 mesi fa |
ocornut
|
7840e453b5
Fonts: ImFontAtlasBuildInit() is always called with atlas->Builder == NULL.
|
3 mesi fa |
ocornut
|
eb650c468a
Fonts: fixed unused variable warning.
|
3 mesi fa |
ocornut
|
cdfa537adf
Fonts: packing of shared basic/line/cursor data uses more public API.
|
3 mesi fa |
ocornut
|
ed2bb2cff0
Fonts: encode additional data in ImFontAtlasRectId to detect invalid id + added Rects debug browser.
|
3 mesi fa |
ocornut
|
0436fba13c
Fonts: fixed compaction gc-ing baked fonts used in the current frame + rename.
|
4 mesi fa |
ocornut
|
e8035b94e5
Fonts: misc tidying up.
|
3 mesi fa |
ocornut
|
d789263e08
Fonts: internal rendering uses higher level functions.
|
4 mesi fa |
ocornut
|
fb5c537080
Fonts: changing loader/backend or loader flags may be done without losing custom rects. Sharing more code.
|
4 mesi fa |
ocornut
|
526a5d0f8a
Fonts: tidying up.
|
4 mesi fa |
ocornut
|
1ea9ff3677
Fonts: add optional out parameter to AddCustomRect()
|
4 mesi fa |