Select Unicode charmap

This commit is contained in:
David Capello 2016-03-14 12:09:59 -03:00
parent dbf5d69219
commit fb6a1481f9

View File

@ -38,6 +38,8 @@ namespace ft {
FT_Face face = nullptr; FT_Face face = nullptr;
FT_Error err = FT_Open_Face(m_ft, &args, 0, &face); FT_Error err = FT_Open_Face(m_ft, &args, 0, &face);
if (!err)
FT_Select_Charmap(face, FT_ENCODING_UNICODE);
return face; return face;
} }