40 Commits (8a9ee9cdedd6f729a58a29cbfcce1bf8951a18f1)

Author SHA1 Message Date
ocornut 90b152f265 ImFontAtlas: Fixed multiple rebuild with same inputs erroneously increased ConfigDataCount. CI: Update Ubuntu 18.04 > 20.04 (motivated by #3369) ago%!(EXTRA string=5 years)
omar 5d87941451 Fixed ImFontConfig::GlyphExtraSpacing and ImFontConfig::PixelSnapH settings being pulled from the merged/target font settings when merging fonts, instead of being pulled from the source font settings. ago%!(EXTRA string=5 years)
Rokas Kupstys 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle' ago%!(EXTRA string=5 years)
ocornut 53dfccbe4b imgui_freetype: Fix for rare case where FT_Get_Char_Index() succeed but FT_Load_Glyph() fails. (#618) ago%!(EXTRA string=5 years)
omar 832fda8488 Fixed stray end of line blanks, added comments in .editorconfig, tweaked some headers. ago%!(EXTRA string=5 years)
omar cc0d4e346a Misc: Added an explicit compile-time test for non-scoped IM_ASSERT() macros to redirect users to a solution + fixed our stb wrappers. ago%!(EXTRA string=5 years)
David Kalnischkies 2fd411a83e Support custom stb_rect_pack filename in Freetype (#3062) ago%!(EXTRA string=5 years)
ocornut 339ffd25a9 Internals: Renamed ImBoolVector to ImBitVector, added low-level loose function to replicate the behavior include a help SetBitRange() function. ago%!(EXTRA string=5 years)
omar d16c87a5b1 Internals: Minor renaming ago%!(EXTRA string=5 years)
Rokas Kupstys c863c1f6a1 Clean up number rounding. Now it is more obvious what code is doing. (#2862) ago%!(EXTRA string=6 years)
Rokas Kupstys 714fe29d1a Replace manual flooring with IM_FLOOR() macro. (#2850) ago%!(EXTRA string=6 years)
luk1337 1820aaf444 imgui_freetype: Initialize FT_MemoryRec_ struct manually (#2686) ago%!(EXTRA string=6 years)
omar e9b92d1cef Disable -Wpragmas warning in GCC to avoid relying on version checks, as unusual/forks/mods don't appear to always have same warning<>version. (#2618) ago%!(EXTRA string=6 years)
omar 4597632662 Readme, comments, dear imgui prefixes ago%!(EXTRA string=6 years)
HolyBlackCat 87c5356d97 FreeType: Added RasterizerFlags::Monochrome flag to disable font anti-aliasing. (#2545) Combine with RasterizerFlags::MonoHinting for best results. ago%!(EXTRA string=6 years)
omar c8fd4afd75 Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert to using the ImGui::MemAlloc()/MemFree() calls directly. ago%!(EXTRA string=6 years)
omar bd351e9ac5 Misc: Added IM_MALLOC/IM_FREE macros mimicking IM_NEW/IM_DELETE so user doesn't need to revert to using the ImGui::MemAlloc()/MemFree() calls directly. ago%!(EXTRA string=6 years)
omar e21bbee311 Examples: DirectX9: Fixed erroneous assert in ImGui_ImplDX9_InvalidateDeviceObjects(). FreeType: Fixed suggested code to not require an initial build call.. (#2454) ago%!(EXTRA string=6 years)
omar f5bf6e38d2 Font: Fixed assert when specifying duplicate/overlapping ranges within a same font. (#2353, #2233) ago%!(EXTRA string=6 years)
omar db40699990 imgui_freeetype: Updated suggested test code. ago%!(EXTRA string=6 years)
omar ee3b4f2bf1 Using IM_UNUSED() macro. ago%!(EXTRA string=6 years)
omar ea7206fd4f Fixed using imgui_freetype.cpp in unity builds. (#2302) ago%!(EXTRA string=6 years)
omar 2c38b32db1 Removed trailing spaces (#2038, #2299) ago%!(EXTRA string=6 years)
omar 09f1cb642b FreeType: Minor tweaks previous commit (#2285) ago%!(EXTRA string=6 years)
alexey_skryabin daac9c7559 By default ImGuiFreeType will use ImGui::MemAlloc()/MemFree(). ago%!(EXTRA string=6 years)
omar 8df8482ef4 imgui_freetype: Fixed redundant FT_Load_Glyph() calls, unused parameters, and compilation warning/error. (#2270) ago%!(EXTRA string=6 years)
omar 651130002f ImFontAtlas: Fixed allocating for last bit (would only affect is that last codepoint is a multiple of 32). (#2270) ago%!(EXTRA string=6 years)
omar 21828b08a0 ImFontAtlas: Rewrote FreeType based builder. ago%!(EXTRA string=6 years)
omar 56caf7da29 imgui_freetype: Minor tweaks and comments. ago%!(EXTRA string=6 years)
omar 9cc63ba279 Internals: Replace unsigned short with ImWchar when dealing with character storage (missing cases) + in imgui_impl_ file keep using neutral type everywhere, added missing explicit cast in three bindings. (#2078) ago%!(EXTRA string=7 years)
omar 5a679a45cc Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. (#1718, #2036) ago%!(EXTRA string=7 years)
omar f5bf9f509c ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful for icon fonts. (#1869) ago%!(EXTRA string=7 years)
Marc J. Schmidt 0903a12c2a Fixed documentation example (#1847) ago%!(EXTRA string=7 years)
omar 35e74c72ab imgui_freetype: skip missing glyphs as well to match our stb loader (#1671, #1703) ago%!(EXTRA string=7 years)
omar 111ea7af77 Misc comments, todos + reintroduced removed ImGuiCol defines under !IMGUI_DISABLE_OBSOLETE_FUNCTIONS wrap. ago%!(EXTRA string=7 years)
omar 1f6ad7a894 ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d ago%!(EXTRA string=7 years)
omar 1ef1acbd8d Font: Fixed MergeMode adding duplicate glyphs data instead of reusing existing (broken by 072d6d8cb5) ago%!(EXTRA string=7 years)
omar fed0a884f7 ImFontAtlas: Added ImFontAtlasFlags_NoPowerOfTwoHeight, ImFontAtlasFlags_NoMouseCursors flags. (#1613) ago%!(EXTRA string=7 years)
omar cf6b39600b imgui_freetype: comments about correct blending and sRGB (#618, #578) ago%!(EXTRA string=7 years)
omar 7b005bd7de imgui_freetype: Documentation, tweaks. (#618) ago%!(EXTRA string=7 years)
omar e9a617b22a Moved imgui_freetype from imgui_club (#618) ago%!(EXTRA string=7 years)