提交 254142bb 编写于 作者: B Behdad Esfahbod

[ft] FT_Select_Charmap() when we create face

上级 a4cbd03d
...@@ -405,6 +405,8 @@ hb_ft_font_set_funcs (hb_font_t *font) ...@@ -405,6 +405,8 @@ hb_ft_font_set_funcs (hb_font_t *font)
return; return;
} }
FT_Select_Charmap (ft_face, FT_ENCODING_UNICODE);
FT_Set_Char_Size (ft_face, FT_Set_Char_Size (ft_face,
font->x_scale, font->y_scale, font->x_scale, font->y_scale,
font->x_ppem * 72 * 64 / font->x_scale, font->x_ppem * 72 * 64 / font->x_scale,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册