cvs commit: patches/freetype freetype-2.1.5-ahhint-1.patch freetype-2.1.5-bytecode_interpreter-1.patch freetype-2.1.5-type1_crash-1.patch freetype-2.1.7-bytecode_interpreter-1.patch freetype-2.1.5-ahhint.patch freetype-2.1.5-bytecode-interpreter.patch freetype-2.1.5-type1-crash.patch freetype-2.1.7-bytecode-interpreter.patch

jim at linuxfromscratch.org jim at linuxfromscratch.org
Fri Jun 4 14:25:11 PDT 2004


jim         04/06/04 15:25:11

  Added:       freetype freetype-2.1.5-ahhint-1.patch
                        freetype-2.1.5-bytecode_interpreter-1.patch
                        freetype-2.1.5-type1_crash-1.patch
                        freetype-2.1.7-bytecode_interpreter-1.patch
  Removed:     freetype freetype-2.1.5-ahhint.patch
                        freetype-2.1.5-bytecode-interpreter.patch
                        freetype-2.1.5-type1-crash.patch
                        freetype-2.1.7-bytecode-interpreter.patch
  Log:
  Naming Scheme Update
  
  Revision  Changes    Path
  1.1                  patches/freetype/freetype-2.1.5-ahhint-1.patch
  
  Index: freetype-2.1.5-ahhint-1.patch
  ===================================================================
  Submitted By: Alexander E. Patrakov (semzx at newmail dot ru)
  Origin: FreeType 2 CVS
  Date: 2003-11-02
  Initial Package Version: 2.1.5
  Description: From FreeType 2 changelog:
  2003-10-19  Werner Lemberg  <wl at gnu.org>
  
          * src/autohint/ahhint.c (ah_hinter_load_glyph): Patch from
          2003-08-18 introduced a severe bug (FT_Render_Glyph was called
          twice under some circumstances, causing strange results).  This
          is fixed now by clearing the FT_LOAD_RENDER bit of `load_flags'.
  
  These strange results confuse e.g. DirectFB (just nothing is drawn with
  TrueType fonts). Please notify me if you find other victims.
  
  ===================================================================
  RCS file: /home/freetype/cvs/cvs/freetype/freetype2/src/autohint/ahhint.c,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- freetype2/src/autohint/ahhint.c	2003/08/17 23:00:59	1.71
  +++ freetype2/src/autohint/ahhint.c	2003/10/20 08:29:45	1.72
  @@ -1850,9 +1850,9 @@
   
       hinter->do_stem_adjust   = FT_BOOL( hint_mode != FT_RENDER_MODE_LIGHT );
   
  -
  -    load_flags  |= FT_LOAD_NO_SCALE
  -                 | FT_LOAD_IGNORE_TRANSFORM ;
  +    load_flags |= FT_LOAD_NO_SCALE
  +                | FT_LOAD_IGNORE_TRANSFORM;
  +    load_flags &= ~FT_LOAD_RENDER;
   
       error = ah_hinter_load( hinter, glyph_index, load_flags, 0 );
   
  
  
  
  1.1                  patches/freetype/freetype-2.1.5-bytecode_interpreter-1.patch
  
  Index: freetype-2.1.5-bytecode_interpreter-1.patch
  ===================================================================
  Submitted By: BLFS Book <blfs-book at linuxfromscratch.org>
  Date: 2004-02-01
  Initial Package Version: 2.1.5
  Origin: Freetype FAQ
  Description: Enables bytecode interpreter for TT driver.
  
  diff -ur freetype-2.1.5.orig/include/freetype/config/ftoption.h freetype-2.1.5/include/freetype/config/ftoption.h
  --- freetype-2.1.5.orig/include/freetype/config/ftoption.h	2004-02-01 02:29:17.000000000 -0600
  +++ freetype-2.1.5/include/freetype/config/ftoption.h	2004-02-01 02:31:42.000000000 -0600
  @@ -399,7 +399,7 @@
     /*   Do not #undef this macro here, since the build system might         */
     /*   define it for certain configurations only.                          */
     /*                                                                       */
  -/* #define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
  +#define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER
   
   
     /*************************************************************************/
  
  
  
  1.1                  patches/freetype/freetype-2.1.5-type1_crash-1.patch
  
  Index: freetype-2.1.5-type1_crash-1.patch
  ===================================================================
  Submitted By: Kelledin <kelledin at users dot sourceforge dot net>
  Date: 2004-02-13
  Initial Package Version: 2.1.5
  Upstream status: fixed in 2.1.7 (2.1.7 severely breaks API compat though)
  Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=216605
  Description: freetype 2.1.5 has trouble handling Type1 fonts with nonzero
               PaintType or StrokeWidth fields.  This usually manifests itself
               as a segfault when running fc-cache on GhostScript fonts.
  
  --- freetype-2.1.5/src/type1/t1objs.c.orig	2003-10-21 15:58:18.000000000 +0200
  +++ freetype-2.1.5/src/type1/t1objs.c	2003-10-21 15:58:40.000000000 +0200
  @@ -229,8 +229,8 @@
         FT_FREE( type1->encoding.char_name );
         FT_FREE( type1->font_name );
   
  -      FT_FREE( type1->paint_type );
  -      FT_FREE( type1->stroke_width );
  +      /* FT_FREE( type1->paint_type ); */
  +      /* FT_FREE( type1->stroke_width ); */
   
   #ifndef T1_CONFIG_OPTION_NO_AFM
         /* release afm data if present */
  --- freetype-2.1.5/src/type42/t42objs.c.orig	2003-10-21 15:59:47.000000000 +0200
  +++ freetype-2.1.5/src/type42/t42objs.c	2003-10-21 16:00:02.000000000 +0200
  @@ -398,8 +398,8 @@
         FT_FREE( type1->encoding.char_name );
         FT_FREE( type1->font_name );
   
  -      FT_FREE( type1->paint_type );
  -      FT_FREE( type1->stroke_width );
  +      /* FT_FREE( type1->paint_type ); */
  +      /* FT_FREE( type1->stroke_width ); */
   
         FT_FREE( face->ttf_data );
   
  --- freetype-2.1.5/include/freetype/internal/t1types.h.orig	2003-10-21 16:00:42.000000000 +0200
  +++ freetype-2.1.5/include/freetype/internal/t1types.h	2003-10-21 16:00:56.000000000 +0200
  @@ -108,14 +108,14 @@
       FT_Byte**        charstrings;       /* array of glyph charstrings */
       FT_Int*          charstrings_len;
   
  -    FT_Byte*         paint_type;
  +    FT_Byte          paint_type;
       FT_Byte          font_type;
       FT_Matrix        font_matrix;
       FT_Vector        font_offset;
       FT_BBox          font_bbox;
       FT_Long          font_id;
   
  -    FT_Fixed*        stroke_width;
  +    FT_Fixed         stroke_width;
   
     } T1_FontRec, *T1_Font;
   
  
  
  
  1.1                  patches/freetype/freetype-2.1.7-bytecode_interpreter-1.patch
  
  Index: freetype-2.1.7-bytecode_interpreter-1.patch
  ===================================================================
  Submitted By: BLFS Book <blfs-book at linuxfromscratch.org>
  Date: 2004-02-01
  Initial Package Version: 2.1.5
  Origin: Freetype FAQ
  Description: Enables bytecode interpreter for TT driver.
  
  diff -ur freetype-2.1.5.orig/include/freetype/config/ftoption.h freetype-2.1.5/include/freetype/config/ftoption.h
  --- freetype-2.1.5.orig/include/freetype/config/ftoption.h	2004-02-01 02:29:17.000000000 -0600
  +++ freetype-2.1.5/include/freetype/config/ftoption.h	2004-02-01 02:31:42.000000000 -0600
  @@ -399,7 +399,7 @@
     /*   Do not #undef this macro here, since the build system might         */
     /*   define it for certain configurations only.                          */
     /*                                                                       */
  -/* #define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
  +#define  TT_CONFIG_OPTION_BYTECODE_INTERPRETER
   
   
     /*************************************************************************/
  
  
  



More information about the patches mailing list