You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMGUI_API ImFont* AddFontFromMemoryTTF(void* ttf_data, int ttf_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // Transfer ownership of 'ttf_data' to ImFontAtlas, will be deleted after Build()
1158
-
IMGUI_API ImFont* AddFontFromMemoryCompressedTTF(constvoid* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // 'compressed_ttf_data' untouched and still owned by caller. Compress with binary_to_compressed_c.cpp
1158
+
IMGUI_API ImFont* AddFontFromMemoryCompressedTTF(constvoid* compressed_ttf_data, int compressed_ttf_size, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // 'compressed_ttf_data' still owned by caller. Compress with binary_to_compressed_c.cpp
1159
+
IMGUI_API ImFont* AddFontFromMemoryCompressedBase85TTF(constchar* compressed_ttf_data_base85, float size_pixels, const ImFontConfig* font_cfg = NULL, const ImWchar* glyph_ranges = NULL); // 'compressed_ttf_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 paramaeter
1159
1160
IMGUI_API voidClearTexData(); // Clear the CPU-side texture data. Saves RAM once the texture has been copied to graphics memory.
1160
1161
IMGUI_API voidClearInputData(); // Clear the input TTF data (inc sizes, glyph ranges)
1161
1162
IMGUI_API voidClearFonts(); // Clear the ImGui-side font data (glyphs storage, UV coordinates)
0 commit comments