Turn off freetype grid-fitting on solaris

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

 





ChangeLog:

     Add FT_LOAD_NO_HINTING to set of flags to Solaris/Sparc freetype
     FT_Load_Glyph call.

Description:

     On Solaris/Sparc grid-fitting the outline produces gibberish
     output for some font outlines with freetype-2.1.2.

Warren Baird : Warren_Baird@cimmetry.com
Xavier Servettaz

diff -ur clean/wine/dlls/gdi/freetype.c wine/dlls/gdi/freetype.c
--- clean/wine/dlls/gdi/freetype.c 24 Jan 2003 15:12:16 -0000     1.1.1.3
+++ wine/dlls/gdi/freetype.c  28 Jan 2003 18:34:25 -0000
@@ -1401,7 +1401,14 @@
     }

     if(font->orientation || (format != GGO_METRICS && format != GGO_BITMAP))
-        load_flags |= FT_LOAD_NO_BITMAP;
+    {
+        load_flags |= FT_LOAD_NO_BITMAP;
+#if defined(sparc) && defined(sun)
+         /* On Solaris/Sparc grid-fitting the outline produces gibberish
+            output for some font outlines with freetype-2.1.2 */
+         load_flags |= FT_LOAD_NO_HINTING;
+#endif
+    }

     err = pFT_Load_Glyph(ft_face, glyph_index, load_flags);





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

  Powered by Linux