提交 8c83fc2b 编写于 作者: H HouQiming

Added STBTT_PLATFORM_ID_UNICODE

Added a STBTT_PLATFORM_ID_UNICODE clause to support iOS/Mac fonts
上级 df290240
......@@ -881,6 +881,9 @@ int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data2, int fontsta
break;
}
break;
case STBTT_PLATFORM_ID_UNICODE:
info->index_map = cmap + ttULONG(data+encoding_record+4);
break;
}
}
if (info->index_map == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册