Commit Graph

  • 28a9070d79 WIP - Exposed some basic UI in demo for sanity. ocornut 2025-03-06 20:50:00 +0100
  • 26cc0cbc54 WIP - Added UI to edit FreeType loader flags. Added ImFontAtlasBuildReloadAll() / ImFontAtlasBuildReloadFont() ocornut 2025-03-06 20:34:18 +0100
  • b1799e01aa
    Merge branch 'ocornut:master' into master Manciu 2025-04-02 15:03:27 +0800
  • b4bd596a39 Fonts: word-wrapping code handle ideographic comma & full stop (U+3001, U+3002). (#8540) ocornut 2025-04-01 22:56:59 +0200
  • fcab22f80f Fonts: fixed CalcWordWrapPositionA() fallback when width is too small to wrap with multibyte codepoints.. (#8540) ocornut 2025-04-01 22:53:00 +0200
  • 85137d4212
    Merge branch 'ocornut:master' into master Manciu 2025-04-01 16:42:09 +0800
  • 8098d79ca2
    Docs: fixed link typo (#8538) Shixian Sheng 2025-04-01 03:10:30 -0400
  • 885bbe68bf
    Merge b7d8140b75 into 4bdb0ac685 runzh 2025-04-01 09:41:38 +0800
  • cac656956a
    Update EXAMPLES.md Shixian Sheng 2025-03-31 20:03:52 -0400
  • 9fdeb41e52
    Backends: Vulkan: Suppress trivially-copyable warning (#8537) Andrew Zonenberg 2025-03-31 11:42:18 -0700
  • 715f127a74 Removed redundant prototype after upstream added it too Andrew D. Zonenberg 2025-03-31 11:34:58 -0700
  • 68f48db177 Added void* cast to suppress warning when initializing RenderBuffers Andrew D. Zonenberg 2025-03-31 11:31:27 -0700
  • d4f6b79fa5 Merge branch 'docking' of github.com:ocornut/imgui into docking Andrew D. Zonenberg 2025-03-31 11:29:38 -0700
  • 6ddcbc149e WIP - In ShowFontAtlas() preserve open-state for latest texture. Improve debug display. ocornut 2025-03-06 19:57:49 +0100
  • 6f34f382cf WIP - ImFontConfig::GlyphExcludeRanges is owner and copied. ocornut 2025-03-06 18:39:32 +0100
  • 9395af9231 WIP - Update font documenttion. ocornut 2025-03-06 18:15:34 +0100
  • a408133dae WIP - Obsolete GetGlyphRangesXXX() functions. ocornut 2025-03-06 18:15:25 +0100
  • 27bd2a6fba WIP - Fixed various small warnings / build issues. ocornut 2025-03-05 18:42:41 +0100
  • a5b879e6ea WIP - Added a ImFontFlags_NoLoadError flag to let user code try file paths. (3611) ocornut 2025-03-05 20:08:00 +0100
  • 342c211182 WIP - Detect when using a texture that's about to be destroyed. ocornut 2025-03-05 17:18:54 +0100
  • 6a41bccf3d WIP - Demo: Add a "Fonts" section for visibility. ocornut 2025-03-05 17:05:24 +0100
  • 48c0166f43 WIP - GetFontBaked() default to searching for closest size font. ocornut 2025-03-03 16:14:41 +0100
  • e782ffbbb8 WIP - Added ImTextureData::UsedRect. ocornut 2025-02-19 15:41:26 +0100
  • 79150af29a WIP - Tidying up font scale logic. ocornut 2025-02-19 15:16:19 +0100
  • a856035678 WIP - Removed LockSingleSrcConfigIdx which isn't needed anymore since we don't load glyphs in ImFontAtlasBuildAddFont(). ocornut 2025-02-10 22:53:33 +0100
  • 2c060d4a07 WIP - Fallback glyph is now lazily loaded on demand (yay!). Moving ImFontBaked:: functions outside of class. ocornut 2025-02-10 22:32:09 +0100
  • 1beaabb4d0 WIP - imgui_freetype: no need to store metrics locally. ocornut 2025-02-10 15:09:46 +0100
  • 5b0ff5e36a WIP - Rework ImFontLoader signatures. ocornut 2025-02-07 18:48:01 +0100
  • 9b5a3a05d1 WIP - A font source can specify its own loader/backend. ocornut 2025-02-06 19:31:13 +0100
  • 8d3f361b02 WIP - Core allocates per-baked-per-src backend buffers, to allow having custom backend per font source. Backend BakedInit/Destroy/AddGlyph process a single source. ocornut 2025-02-06 15:19:23 +0100
  • a85f7b434b WIP - Reinstated ImFontAtlasBuildSetupFontCreateEllipsisFromDot() compatible with baked system, lazily baked. ocornut 2025-02-07 15:58:16 +0100
  • 8c7fbbc6ad WIP - Added ImFontAtlasBakedSetFontGlyphBitmap(). ocornut 2025-02-07 14:51:37 +0100
  • 4f8f7ff999 WIP - Baked system, fix subsequent sources overriding shared font metrics. ocornut 2025-02-06 13:06:05 +0100
  • de9cd4116d WIP - ImFontFlags: ImFontFlags_NoLoadGlyphs + add ImFontFlags_LockBakedSizes ocornut 2025-02-06 11:57:30 +0100
  • 811672e6fc WIP - Exposed CompactCache(). Hide ClearCache(). ocornut 2025-02-05 18:25:52 +0100
  • 61d975c8f7 WIP - Restore a functional AddCustomRectFontGlyph(). ocornut 2025-02-05 17:51:46 +0100
  • 9b583b9da2 WIP - ImFontConfig: added GlyphExcludeRanges ocornut 2025-02-05 14:41:59 +0100
  • 86fb2ce55b WIP - Create a fallback glyph if none is available (fix crash on fonts with no fallback) ocornut 2025-02-05 14:04:05 +0100
  • 4f236b0361 WIP - Fixed _OnChangedTextureID() asserting when calling on e.g. finalized drawlists. ocornut 2025-02-04 20:02:10 +0100
  • 810f905469 WIP - PushFontSize() with -1 uses sources[0]'s size for now (backward compat design) ocornut 2025-02-03 19:36:11 +0100
  • ea3b921611 WIP - Allow PushFont/NewFrame/PopFont idioms to function. ocornut 2025-02-03 19:15:26 +0100
  • c59cfc6302 WIP - Reordered ImFont fields. ocornut 2025-02-07 19:47:41 +0100
  • ad9bff0b4c WIP - Baked system, v12: support GlyphOffset / GlyphMinAdvanceX / GlyphMaxAdvanceX by scaling from ref value. ocornut 2025-02-03 17:46:59 +0100
  • e4348fd58e WIP - Baked system, v11. ocornut 2025-02-03 17:16:34 +0100
  • 4b79ddf461 WIP - Comments around ImTextureUserID/ImTextureID types. ocornut 2025-01-30 17:49:52 +0100
  • a08f35fee6 WIP - Debug dump to disk, debug log ocornut 2025-01-28 14:36:06 +0100
  • 8fab706f31 WIP - Texture resizing favor growing height, halve pack nodes. ocornut 2025-01-28 14:31:13 +0100
  • e901924f01 WIP - Added PushFontSize(), PopFontSize() api. Added font_size param to PushFont() as well. ocornut 2025-01-27 20:24:05 +0100
  • f42477fff6 WIP - Clarify ClearTexData() as not supported with dynamic atlases. ocornut 2025-01-30 16:32:25 +0100
  • 523e4ae0e2 WIP - Baked system, with auto-bind, v10. ocornut 2025-01-23 15:46:22 +0100
  • f88176a8ea (Breaking) CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale as this will be needed. ocornut 2025-01-24 18:10:42 +0100
  • a9146dbbe5 Internals: added ImStableVector<> helper. ocornut 2025-01-22 20:01:26 +0100
  • e62ef00f65 WIP - Fixed leak due to indirectly recursing ImFontAtlasPackInit(). ocornut 2025-01-23 12:12:07 +0100
  • 9b96eb3b43 WIP - Stb loader: Reworked scale handling to suggest this is not required caching. ocornut 2025-01-20 20:01:21 +0100
  • 9da6073021 WIP - Reduced reliance on ImFontConfig::DstFont. ocornut 2025-01-18 15:01:05 +0100
  • d95c96e20e WIP - Added a bit of user facing tooling. ocornut 2025-01-16 15:41:46 +0100
  • c264fa7410 WIP - Removed BuildClearGlyphs(), conflated with ClearOutputData() ocornut 2025-01-16 14:57:33 +0100
  • 6ff2b0f0fc WIP - Fixed/improved support for legacy backend. SetTexID() writes into our ImTextureData to keep the indirection, clear TexIsBuilt. ocornut 2025-01-16 11:35:55 +0100
  • ebddffcc56 WIP - (Breaking) remove ImFontAtlasCustomRect which is now the same as ImTextureRect ocornut 2025-01-15 11:53:24 +0100
  • 56c64eb0af WIP - Added back support for AddCustomRectFontGlyph() ocornut 2025-01-13 20:33:36 +0100
  • a754c61926 WIP - ImFontAtlasBuildInit() uses the occasion to sync HasTexUpdates from imgui context, narrowing the scope where it isn't set. ocornut 2025-01-13 20:25:16 +0100
  • 70b4e9150f WIP - Comments, remove ImFontAtlas facing BuildGrowTexture(), BuildCompactTexture(). Make IsBuilt() obsolete. ocornut 2025-01-13 20:03:09 +0100
  • e3625d0fcd WIP - Basic heuristic to repack instead of growing. Moved rects count/surface to internals. ocornut 2025-01-13 17:56:36 +0100
  • 00e4d681f1 WIP - Added atlas's TexMinWidth/TexMinHeight/TexMaxWidth/TexMaxHeight. ocornut 2025-01-09 23:04:00 +0100
  • 0e75986e7f WIP - Ensure UpdateBox is set on texture _WantCreate state too. ocornut 2025-01-09 20:57:20 +0100
  • 4c0c7c1f39 WIP - Turn public facing BuildRegisterGlyph() into ImFontAtlasBuildAddFontGlyph() thats sets up UV. ocornut 2025-01-09 20:48:50 +0100
  • 95bcfc98b5 WIP - Rasterizing ellipsis character from dot as one glyph + avoid preloading if it not needed. ocornut 2025-01-08 19:07:40 +0100
  • ef28c35145 WIP - Fixed support for multiple contexts. ocornut 2024-12-27 11:23:22 +0100
  • 71088794ad WIP - Added ImFontAtlas::RemoveFont(), fixed various leaks. ocornut 2024-12-19 16:21:07 +0100
  • a9ae6b764f WIP - Marked ImFontAtlas::Build() as obsolete ocornut 2024-12-20 22:33:11 +0100
  • 7b3f2c4857 WIP - ClearCache(), ImFontAtlasBuildGetTextureSizeEstimate(), tweak clearing functions. ocornut 2024-12-19 15:21:22 +0100
  • 78e674d16c WIP - Fix for password fields ocornut 2024-12-19 14:40:45 +0100
  • 50b2a81ee6 WIP - Use a structure for post-processing - easier to pass things around and iterate on. ocornut 2024-12-11 19:21:10 +0100
  • b1bb673de4 WIP - Repack without full reload, discard rectangle, fixed CustomRect api with stable id, remove public BuildInit(). ocornut 2024-12-05 18:52:30 +0100
  • b9598eab8b WIP - Measured and tweaked CalcTextSize() computation to minimize cost in our stress tests. ocornut 2024-12-04 19:26:45 +0100
  • e51c93d12d WIP - Misc amends, remove _PackNodesFactor, comments. ocornut 2024-12-04 16:43:46 +0100
  • 404dc020c5 WIP - ImFontAtlas accept DrawListSharedData not being set. ocornut 2024-12-02 21:07:26 +0100
  • 5a1edffaaf WIP - Optimization bake FallbackAdvanceX into IndexAdvanceX[]. ocornut 2024-11-29 17:34:52 +0100
  • 16306b5c0a WIP - (Breaking) Removed atlas->TexDesiredWidth now unnecessary (github 327) ocornut 2024-11-29 17:22:33 +0100
  • 5cad751aff WIP - Use TexGlyphPadding + Fixed packing issues. ocornut 2024-11-29 15:16:22 +0100
  • 5f373fa3c6 WIP - Removed old code. ocornut 2024-11-29 15:05:31 +0100
  • af1732eb57 WIP - AddFont() actually does the work, so we can handle errors & return an accurate return value. ocornut 2024-11-29 14:28:16 +0100
  • 49e35f0089 imgui_freetype: Removing old code. ocornut 2024-11-28 15:27:17 +0100
  • cf6b4c76c4 imgui_freetype: Added Freetype implementation for new architecture. ocornut 2024-11-28 15:26:52 +0100
  • eae2a05830 WIP - Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. thedmd 2024-12-17 00:42:57 +0100
  • 377f5beca0 WIP - Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2025-01-15 10:38:11 +0100
  • 437435846f WIP - Backends: SDLGPU3: reusing texture transfer buffer. ocornut 2025-03-31 15:33:15 +0200
  • 0877cac68e WIP - Backends: SDLGPU3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2025-01-16 12:32:56 +0100
  • 50f1d3830e WIP - Backends: SDL_Renderer3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 15:57:32 +0100
  • bed34ebbf8 WIP - Backends: SDL_Renderer2: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 15:52:52 +0100
  • ebc174a22e WIP - Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:28 +0100
  • bd985153e6 WIP - Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-18 14:05:55 +0100
  • 0cf0bd27f7 WIP - Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:14 +0100
  • a5fccb498e WIP - Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:46:09 +0100
  • 8beb6e922b WIP - Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 13:05:27 +0100
  • e9ba9d6181 WIP - Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:21 +0100
  • eec6305ae3 WIP - Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:46:02 +0100
  • 74b711e072 WIP - Adding a RefCount to textures so backend can avoid destroying them on shutdown if atlas is shared. ocornut 2025-03-07 16:14:11 +0100
  • 46325b4b59 WIP - Single Textures[] array allows backend to not have to care about atlases. ocornut 2025-01-31 19:12:58 +0100
  • 8d9582ad1e WIP - Add ImTextureUserID_Invalid + introducing SetTexUserID(). ocornut 2025-01-30 15:35:32 +0100