Skip to content
Myr

Added STBTT_PLATFORM_ID_UNICODE

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Added a STBTT_PLATFORM_ID_UNICODE clause to support iOS/Mac fonts

authored by HouQiming · committed by HouQiming · parent df29024 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:stb_truetype.h+3 added
879 unmodified lines
880 info->index_map = cmap + ttULONG(data+encoding_record+4);881 break;882 }883 break;884 case STBTT_PLATFORM_ID_UNICODE:885 info->index_map = cmap + ttULONG(data+encoding_record+4);886 break;887 }888 }889 if (info->index_map == 0)890 return 0;
1194 unmodified lines