Commit b1b1e297 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Specify fourcc codes for encodings directly, instead of using changing

enum names.
parent d395f626
......@@ -1251,14 +1251,14 @@ not_found:
}
if (ret->charset == SYMBOL_CHARSET &&
!pFT_Select_Charmap(ret->ft_face, FT_ENCODING_MS_SYMBOL)) {
!pFT_Select_Charmap(ret->ft_face, MS_MAKE_TAG('s','y','m','b'))) {
/* No ops */
}
else if (!pFT_Select_Charmap(ret->ft_face, FT_ENCODING_UNICODE)) {
else if (!pFT_Select_Charmap(ret->ft_face, MS_MAKE_TAG('u','n','i','c'))) {
/* No ops */
}
else {
pFT_Select_Charmap(ret->ft_face, FT_ENCODING_APPLE_ROMAN);
pFT_Select_Charmap(ret->ft_face, MS_MAKE_TAG('a','r','m','n'));
}
ret->orientation = lf.lfOrientation;
......
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