From 8d54798231b3eb07e659ee18a6ba7a39d1ddcb11 Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Wed, 30 Nov 2022 12:07:46 +0100 Subject: [PATCH] Extend Hot fix by description --- src/imgui/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/imgui/README.md b/src/imgui/README.md index 58008bded0..9413811ae2 100644 --- a/src/imgui/README.md +++ b/src/imgui/README.md @@ -17,6 +17,12 @@ imstb_truetype.h modification: Hot fix for open symbolic fonts on windows 62bdfe6f8d04b88e8bd511cd613be80c0baa7f55 +Add case STBTT_MS_EID_SYMBOL to swith in file imstb_truetype.h on line 1440. Hot fix for open curved fonts mainly on MAC 2148e49f75d82cb19dc6ec409fb7825296ed005c +viz. https://github.com/nothings/stb/issues/1296 +In file imstb_truetype.h line 1667 change malloc size from: +vertices = (stbtt_vertex *) STBTT_malloc((m + 1) * sizeof(vertices[0]), info->userdata); +to: +vertices = (stbtt_vertex *) STBTT_malloc(m * sizeof(vertices[0]), info->userdata); \ No newline at end of file