fix for MS symbol fonts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xs4all.nl
--- 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')
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux