mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 07:55:55 +08:00
Hot fix before author of stb_truetype library fix issues:
https://github.com/nothings/stb/issues/1283 Add ability to open symbol fonts on windows
This commit is contained in:
parent
133ce45aeb
commit
699533e22a
@ -12,3 +12,8 @@ b71d787f695c779e571865d5214d4da8d50aa7c5
|
||||
imgui_stdlib.h + imgui_stdlib.cpp are move from directory /imgui/misc/cpp/
|
||||
InputText() wrappers for C++ standard library (STL) type: std::string.
|
||||
This is also an example of how you may wrap your own similar types.
|
||||
|
||||
imstb_truetype.h modification:
|
||||
|
||||
Hot fix for open symbolic fonts on windows
|
||||
62bdfe6f8d04b88e8bd511cd613be80c0baa7f55
|
||||
|
@ -1437,6 +1437,7 @@ static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, in
|
||||
switch(ttUSHORT(data+encoding_record)) {
|
||||
case STBTT_PLATFORM_ID_MICROSOFT:
|
||||
switch (ttUSHORT(data+encoding_record+2)) {
|
||||
case STBTT_MS_EID_SYMBOL:
|
||||
case STBTT_MS_EID_UNICODE_BMP:
|
||||
case STBTT_MS_EID_UNICODE_FULL:
|
||||
// MS/Unicode
|
||||
|
Loading…
x
Reference in New Issue
Block a user