[ft] FT_Select_Charmap() when we create face
This commit is contained in:
parent
a4cbd03dd1
commit
254142bb67
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue