shithub: freetype+ttf2subf

Download patch

ref: d51b41e085f2370ca9da13e78a6f20cdb6ed02d0
parent: fa3651e7d8af95b080db00d25a5ada0a5f77ef3d
author: Detlef Würkner <[email protected]>
date: Wed Mar 29 01:35:26 EST 2006

no message

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-29  Detlef W�rkner  <[email protected]>
+
+	* src/psaux/psconv.c: Changed some variables which are expected
+	to hold negative values from "char" to "FT_Char" to allow
+	building with a compiler where "char" is unsigned by default.
+
 2006-03-27  David Turner  <[email protected]>
 
 	* src/sfnt/ttkern.c (tt_face_get_kerning): Fix a serious bug that
--- a/src/psaux/psconv.c
+++ b/src/psaux/psconv.c
@@ -31,7 +31,7 @@
 #if 'A' == 65
   /* ASCII */
 
-  static const char  ft_char_table[128] =
+  static const FT_Char  ft_char_table[128] =
   {
     /* 0x00 */
     -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
@@ -52,7 +52,7 @@
 #if 'A' == 193
   /* EBCDIC */
 
-  static const char  ft_char_table[128] =
+  static const FT_Char  ft_char_table[128] =
   {
     /* 0x80 */
     -1, 10, 11, 12, 13, 14, 15, 16, 17, 18, -1, -1, -1, -1, -1, -1,
@@ -95,7 +95,7 @@
 
     for ( ; p < limit; p++ )
     {
-      char  c;
+      FT_Char  c;
 
 
       if ( IS_PS_SPACE( *p ) || *p OP 0x80 )
@@ -176,7 +176,7 @@
 
       for ( ; p < limit; p++ )
       {
-        char  c;
+        FT_Char  c;
 
 
         if ( IS_PS_SPACE( *p ) || *p OP 0x80 )
@@ -337,7 +337,7 @@
     n *= 2;
     for ( p = *cursor; r < n && p < limit; p++ )
     {
-      char  c;
+      FT_Char  c;
 
 
       if ( IS_PS_SPACE( *p ) )