Hubert Maier
07dbcf1f70
Fixed typos. ( #7593 )
6 months ago
Neil Bickford
e57871bb95
imstb_truetype: Add missing `return` keyword in error case of `stbtt__cid_get_glyph_subrs` ( #6007 )
Submitted as PR: https://github.com/nothings/stb/pull/1422
Signed-off-by: Neil Bickford <nbickford@nvidia.com>
2 years ago
ocornut
88fbc31ee0
stb_truetype: fix a division by zero (unused chain of result, but triggering debuggers). ( #5139 , #5075 )
Amend 0cff5ac
(mislabeled as stb_textedit)
3 years ago
ocornut
0cff5ac5a1
Updated stb_textedit.h from 1.20 to 1.26 (many fixes). ( #5075 )
3 years ago
ocornut
327a5d8253
Fix warning + apply trailing whitespaces in stb_ libs (as applied on nothings/stb on 2020/02/02, facilitating further diffs)
3 years ago
freddii
90a518c501
Fixed typos ( #3782 )
4 years ago
Omar
b62f1ea8e9
Fix zealous PVS studio warnings. Minor tweaks.
5 years ago
Omar
09329ea4e6
Fix Clang 9.0 zealous warnings
5 years ago
omar
23c1ff4907
Removed redirecting functions/enums names that were marked obsolete in 1.52 (October 2017).
- Begin() [old 5 args version] -> use Begin() [3 args], use SetNextWindowSize() SetNextWindowBgAlpha() if needed
- IsRootWindowOrAnyChildHovered() -> use IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows)
- AlignFirstTextHeightToWidgets() -> use AlignTextToFramePadding();
- SetNextWindowPosCenter() -> use SetNextWindowPos() with a pivot of (0.5f, 0.5f)
- ImFont::Glyph -> use ImFontGlyph
If you were still using the old names, read "API Breaking Changes" section of imgui.cpp to find out the new names or equivalent features, or see how they were implemented until 1.73.
5 years ago
omar
8522a4bbea
Fixed Clang warning ("multi-line comment"). XCode also also "space between \ and carriage return". Perhaps it would work with 2 spaces? Adding a dot for now..
6 years ago
Omar Cornut
ef7940699e
Examples: Metal: Removed unnecessary loop. Fixed OSX Clang warning in imstb_truetype. ( #1929 , #1873 )
6 years ago
omar
539f69b950
Updated STB libraries to latest (drift has been reduced with nothings/stb as most of our changes were merged). Using [DEAR IMGUI] markers when changed.
6 years ago
omar
4e8e177cac
Persistently fixing some PVS-Studio static analyzer false positive warnings.
6 years ago
omar
c3c2cd1e82
Fix various XCode and PVS-Studio static analyzer warnings ( #2309 )
6 years ago
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 )
If you were conveniently using the imgui copy of those STB headers in your project, you will have to update your include paths.
The reason for this change is to avoid conflicts for projects that may also be importing their own copy of the STB libraries. Note that imgui's copy of stb_textedit.h is modified.
6 years ago
omar
6eda9ed3fb
Skip missing font glyphs V2 revert changes to stb_truetype.h (
7 years ago
omar
787a475650
Skip missing font glyphs to 1) avoid using space for missing glyphs and 2) allow merging fonts with overlapping ranges. Demo: Fixed displaying ? instead of greyed out empty box. ( #1671 , #1703 )
7 years ago
omar
6662fe7b18
stb_truetype: Fixed unused variable warnings for configuration where asserts are disabled. ( #1642 )
7 years ago
omar
ff5f56dd21
Updated to stb_truetype 1.19 (include minor fix for #1622 )
7 years ago
omar
8e8117c7b1
stb_truetype update (with OpenType, Type 2 font handling) ( #976 )
8 years ago
ocornut
379533f661
Updated stb_truetype.h, stb_rect_pack.h primarily to reduce warnings ( #883 )
8 years ago
ocornut
9945eecaf4
stb_truetype: updated 1.08 > 1.10 + minor unused variable warning fix
9 years ago
ocornut
730e8119fe
Updated stb_truetype 1.07 -> 1.08
9 years ago
ocornut
26a992c6f6
Updated to stb_truetype 1.07 (back to vanilla version as our minor changes are now in master & fix #280 )
9 years ago
ocornut
d7a2a23457
Updated to stb_truetype 1.06 ( #133 )
9 years ago
ocornut
95e2afcad6
Updated to stb_truetype 1.05
10 years ago
ocornut
f1ccd32cb1
stb_truetype: implementation is now static + submitted PR to origin.
10 years ago
ocornut
a1c0c0e298
stb_truetype.h mod comment
10 years ago
ocornut
4f6643cc0c
Fix missing glyph handling in modified stb_truetype.h (ttf branch)
10 years ago
ocornut
6c6d1746d4
Fix missing glyph handling in modified stb_truetype.h
10 years ago
ocornut
b3a208901a
Loading TTF file with stb_truetype. Broke setup API slightly. Font baked, packed with space for custom data. Embeds compressed ProggyClean.
10 years ago