Commit 2925d6ad authored by Dave Belanger's avatar Dave Belanger Committed by Alexandre Julliard

Improved selection of freetype face charmap.

parent 53f2e61e
......@@ -1250,8 +1250,17 @@ not_found:
return 0;
}
if(ret->charset == SYMBOL_CHARSET)
pFT_Select_Charmap(ret->ft_face, ft_encoding_symbol);
if (ret->charset == SYMBOL_CHARSET &&
!pFT_Select_Charmap(ret->ft_face, FT_ENCODING_MS_SYMBOL)) {
/* No ops */
}
else if (!pFT_Select_Charmap(ret->ft_face, FT_ENCODING_UNICODE)) {
/* No ops */
}
else {
pFT_Select_Charmap(ret->ft_face, FT_ENCODING_APPLE_ROMAN);
}
ret->orientation = lf.lfOrientation;
ret->name = strdupW(family->FamilyName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment