Use freetype 2.0 defines for font encodings instead of misuse of

MS_MAKE_TAG.
This commit is contained in:
Marcus Meissner 2003-10-28 00:08:28 +00:00 committed by Alexandre Julliard
parent d0f86f640b
commit d9b1bb7152
1 changed files with 4 additions and 4 deletions

View File

@ -1251,14 +1251,14 @@ not_found:
}
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 */
}
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 */
}
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;