fix for MS symbol fonts
Rein Klazes
rklazes at xs4all.nl
Sun Oct 26 01:41:10 CST 2003
Hi,
FT_ENCODING_MS_SYMBOL and other encoding tags are computed differently
by wine and by libfreetype. I assume the latter is right :-)
This fixes the MS tt fonts symbol, wingdings and webdings, with no
regressions for the others fonts.
dlls/gdi : freetype.c
Fix macro MS_MAKE_TAG to match that in libfreetype. MS symbol
fonts now work.
Rein.
--
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/gdi/freetype.c 2003-10-16 15:46:14.000000000 +0200
+++ mywine/dlls/gdi/freetype.c 2003-10-26 08:27:41.000000000 +0100
@@ -931,10 +931,10 @@
*/
#define MS_MAKE_TAG( _x1, _x2, _x3, _x4 ) \
- ( ( (FT_ULong)_x4 << 24 ) | \
- ( (FT_ULong)_x3 << 16 ) | \
- ( (FT_ULong)_x2 << 8 ) | \
- (FT_ULong)_x1 )
+ ( ( (FT_ULong)_x1 << 24 ) | \
+ ( (FT_ULong)_x2 << 16 ) | \
+ ( (FT_ULong)_x3 << 8 ) | \
+ (FT_ULong)_x4 )
#define MS_VDMX_TAG MS_MAKE_TAG('V', 'D', 'M', 'X')
More information about the wine-patches
mailing list