Skip to content

Commit d0e870a

Browse files
committed
Misc: changed embedded ProggyClean encoding to save a bit of binary space (~12kb to 9.5kb). (#8161)
Encoding as char to ensure compatibility with big endian (#81)
1 parent 5ae3dd5 commit d0e870a

File tree

4 files changed

+206
-100
lines changed

4 files changed

+206
-100
lines changed

docs/CHANGELOG.txt

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Other changes:
5353

5454
- Error Handling: fixed cases where recoverable error handling would crash when
5555
processing errors outside of the NewFrame()..EndFrame() scope. (#1651)
56+
- Misc: changed embedded ProggyClean encoding to save a bit of binary space (~12kb to 9.5kb).
5657
- Misc: added IMGUI_DISABLE_DEFAULT_FONT to strip embedded font from binary. (#8161)
5758
[@demonese]
5859
- Demo: example tree used by Property Editor & Selection demos properly freed

imconfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
//#define IMGUI_DISABLE_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle at all (replace them with dummies)
4949
//#define IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS // Don't implement ImFileOpen/ImFileClose/ImFileRead/ImFileWrite and ImFileHandle so you can implement them yourself if you don't want to link with fopen/fclose/fread/fwrite. This will also disable the LogToTTY() function.
5050
//#define IMGUI_DISABLE_DEFAULT_ALLOCATORS // Don't implement default allocators calling malloc()/free() to avoid linking with them. You will need to call ImGui::SetAllocatorFunctions().
51-
//#define IMGUI_DISABLE_DEFAULT_FONT // Disable default embedded font (ProggyClean.ttf), remove ~14 KB from output binary. AddFontDefault() will assert.
51+
//#define IMGUI_DISABLE_DEFAULT_FONT // Disable default embedded font (ProggyClean.ttf), remove ~9.5 KB from output binary. AddFontDefault() will assert.
5252
//#define IMGUI_DISABLE_SSE // Disable use of SSE intrinsics even if available
5353

5454
//---- Enable Test Engine / Automation features.

0 commit comments

Comments
 (0)