[ft] FT_Select_Charmap() when we create face

This commit is contained in:
Behdad Esfahbod 2011-08-15 16:15:44 +02:00
parent a4cbd03dd1
commit 254142bb67
1 changed files with 2 additions and 0 deletions

View File

@ -405,6 +405,8 @@ hb_ft_font_set_funcs (hb_font_t *font)
return;
}
FT_Select_Charmap (ft_face, FT_ENCODING_UNICODE);
FT_Set_Char_Size (ft_face,
font->x_scale, font->y_scale,
font->x_ppem * 72 * 64 / font->x_scale,