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

Use freetype 2.0 defines for font encodings instead of misuse of

MS_MAKE_TAG.
parent d0f86f64
...@@ -1249,16 +1249,16 @@ not_found: ...@@ -1249,16 +1249,16 @@ not_found:
free_font( ret ); free_font( ret );
return 0; return 0;
} }
if (ret->charset == SYMBOL_CHARSET && if (ret->charset == SYMBOL_CHARSET &&
!pFT_Select_Charmap(ret->ft_face, MS_MAKE_TAG('s','y','m','b'))) { !pFT_Select_Charmap(ret->ft_face, ft_encoding_symbol)) {
/* No ops */ /* No ops */
} }
else if (!pFT_Select_Charmap(ret->ft_face, MS_MAKE_TAG('u','n','i','c'))) { else if (!pFT_Select_Charmap(ret->ft_face, ft_encoding_unicode)) {
/* No ops */ /* No ops */
} }
else { else {
pFT_Select_Charmap(ret->ft_face, MS_MAKE_TAG('a','r','m','n')); pFT_Select_Charmap(ret->ft_face, ft_encoding_apple_roman);
} }
ret->orientation = lf.lfOrientation; 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