Specify fourcc codes for encodings directly, instead of using changing

enum names.
This commit is contained in:
Marcus Meissner 2003-10-15 20:51:22 +00:00 committed by Alexandre Julliard
parent d395f6260c
commit b1b1e297ef
1 changed files with 3 additions and 3 deletions

View File

@ -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;