Rich Wareham <[EMAIL PROTECTED]> writes:

> Hi,
> 
>   I've just installed the fontconfig/xft2 release from fontconfig.org
> and am using the pre-compiled mozilla binaries available there. When
> viewing the latest Kernel Traffic
> (http://kt.zork.net/kernel-traffic/latest.html#1) [#184 for archive
> readers] there is a strange effect that happens in the <pre> text
> blocks. A screenshot can be found at
> http://www2.eng.cam.ac.uk/~rjw57/temp/xft2-err.png.
> 
>   This is with a clean mozilla and no fiddling with the font settings
> (honest :)).
> 
>   If its any help this is over a remote X-session but with XRender
> support on the server.
> 
>   Pleace Cc any important reply as I'm not on the list.

This is a bug in FreeType-2.1.2 - the fix (extracted from
CVS) is attached.

Regards,
                                        Owen

--- freetype-2.1.2/src/base/ftoutln.c.transform	Thu Jun 20 06:57:04 2002
+++ freetype-2.1.2/src/base/ftoutln.c	Tue Jul 23 14:26:11 2002
@@ -628,9 +628,9 @@
       return;
 
     xz = FT_MulFix( vector->x, matrix->xx ) +
-         FT_MulFix( vector->y, matrix->yx );
+         FT_MulFix( vector->y, matrix->xy );
 
-    yz = FT_MulFix( vector->x, matrix->xy ) +
+    yz = FT_MulFix( vector->x, matrix->yx ) +
          FT_MulFix( vector->y, matrix->yy );
 
     vector->x = xz;
--- freetype-2.1.2/src/truetype/ttgload.c.transform	Thu Jun 20 06:57:04 2002
+++ freetype-2.1.2/src/truetype/ttgload.c	Tue Jul 23 14:26:11 2002
@@ -544,8 +544,8 @@
       else if ( subglyph->flags & WE_HAVE_A_2X2 )
       {
         xx = (FT_Fixed)FT_GET_SHORT() << 2;
-        xy = (FT_Fixed)FT_GET_SHORT() << 2;
         yx = (FT_Fixed)FT_GET_SHORT() << 2;
+        xy = (FT_Fixed)FT_GET_SHORT() << 2;
         yy = (FT_Fixed)FT_GET_SHORT() << 2;
       }
 

Reply via email to