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

Bug#335256: marked as done (xserver-xorg: CID(Type1) font loader doesn't handle bitmap endian correctly (patch available))



Your message dated Wed, 28 Feb 2007 16:00:43 +0100
with message-id <20070228150041.GA1879@patate.is-a-geek.org>
and subject line xserver-xorg: CID(Type1) font loader doesn't handle bitmap endian correctly (patch available)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xserver-xorg
Version: 6.8.2.dfsg.1-7
Severity: important

 CID format font loader does not handle fsBitmapFormat and
fsBitmapFormatMask correctly, and corrupts each glyph's bitmap image. 
 Here are some patches to fix this bug.

------------
--- xc/lib/font/Type1/t1intf.h.org	2005-03-01 02:35:18.000000000 +0900
+++ xc/lib/font/Type1/t1intf.h	2005-10-22 20:26:31.000000000 +0900
@@ -68,6 +68,7 @@
        unsigned char  *CIDdata;
        long            CIDsize;
 #endif
+       fsBitmapFormatMask fmask;
 } cidglyphs;
 #endif
 

------------

------------
--- xc/lib/font/Type1/t1funcs.c.org	2005-03-01 02:35:18.000000000 +0900
+++ xc/lib/font/Type1/t1funcs.c	2005-10-22 20:28:34.000000000 +0900
@@ -443,6 +443,8 @@
     cid->pixel_matrix[2] = vals->pixel_matrix[2];
     cid->pixel_matrix[3] = vals->pixel_matrix[3];
 
+    cid->fmask = fmask;
+
     pFont->fontPrivate = (unsigned char *)cid;
 
     pFont->info.fontAscent =
@@ -1529,10 +1531,11 @@
        long h,w;
        long paddedW;
        cidglyphs *cid;
-       fsBitmapFormat      format = 0;
-       fsBitmapFormatMask  fmask = 0;
+       fsBitmapFormat      format = pFont->format;
+       fsBitmapFormatMask  fmask;
 
        cid = (cidglyphs *)pFont->fontPrivate;
+       fmask = cid->fmask;
 
        /* set up default values */
        FontDefaultFormat(&bit, &byte, &glyph, &scan);
------------


--- End Message ---
--- Begin Message ---
Version: 1:1.2.7-1

On Sun, Oct 23, 2005 at 06:42:20 +0900, YOKOTA Hiroshi wrote:

>  CID format font loader does not handle fsBitmapFormat and
> fsBitmapFormatMask correctly, and corrupts each glyph's bitmap image. 
>  Here are some patches to fix this bug.
> 
CID fonts are deprecated, and are not supported by latest versions of
libXfont.  I'm thus closing this bug.

Thanks,
Julien

--- End Message ---

Reply to: