Use freetype 2.0 defines for font encodings instead of misuse of
MS_MAKE_TAG.
This commit is contained in:
parent
d0f86f640b
commit
d9b1bb7152
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue