freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Some bugs fixed, 2.1.4 tagged in CVS


From: Vincent Caron
Subject: Re: [Devel] Some bugs fixed, 2.1.4 tagged in CVS
Date: Fri, 28 Mar 2003 15:18:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9

David Turner wrote:
  Please, please, test this "pre-release". If everything goes well,
  I'd like to officially package 2.1.4 this week-end..

It's all fine here. If you really want something to scratch, all I have is :

* ft2demos/src/ftstring.c:473: warning: `codepoint' might be used uninitialized in this function

* ft2demos/src/ftstring.c: since text is now white on black, the gamma correction hack has to be reversed (patch attached)
Index: src/ftstring.c
===================================================================
RCS file: /cvs/freetype/ft2demos/src/ftstring.c,v
retrieving revision 1.15
diff -c -r1.15 ftstring.c
*** ftstring.c  2002/12/03 00:41:42     1.15
--- ftstring.c  2003/03/28 14:17:12
***************
*** 191,197 ****
      {
        for (j = 0; j < bmp->width; j++)
          /* bitmap color is the inverse of coverage values, hence the '255-x' 
*/
!         buffer[j] = (FT_Byte)(255 - gamma_ramp[255 - buffer[j]]);
  
        buffer += bmp->pitch;
      }
--- 191,197 ----
      {
        for (j = 0; j < bmp->width; j++)
          /* bitmap color is the inverse of coverage values, hence the '255-x' 
*/
!         buffer[j] = (FT_Byte)gamma_ramp[buffer[j]];
  
        buffer += bmp->pitch;
      }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]