PHP 4.0 Bug #3219 Updated: GDTTF error

From: Date: Sat, 14 Oct 2000 01:42:10 +0000
Subject: PHP 4.0 Bug #3219 Updated: GDTTF error
Groups: php.dev 
Request: Send a blank email to php-dev+get-34967@lists.php.net to get a copy of this message
ID: 3219 Updated by: sniper Reported By: chris@brenden.com Status: Suspended Bug Type: Compile Failure Assigned To: markonen Comments: I put this on suspend. Freetype2 is still beta. (although they claim having RC on their site..) --Jani Previous Comments: --------------------------------------------------------------------------- [2000-07-29 15:18:43] waldschrott@php.net what´s the progress here? --------------------------------------------------------------------------- [2000-02-23 14:25:12] sas@cvs.php.net Open -> Analyzed --------------------------------------------------------------------------- [2000-02-19 12:32:18] markonen@cvs.php.net There are known problems with using FreeType 2 with PHP4 at this time. As a workaround, you can revert to FreeType 1.3 or rename FreeType 2's truetype.h header file to freetype.h and libfreetype.a to libttf.a. --------------------------------------------------------------------------- [2000-01-15 15:37:39] chris@brenden.com php4b3 with gd-1.7.3 and freetype2 gdttf.c:76: parse error before `TT_Engine' gdttf.c:76: warning: no semicolon at end of struct or union gdttf.c:77: warning: data definition has no type or storage class gdttf.c:78: parse error before `properties' gdttf.c:78: warning: data definition has no type or storage class gdttf.c:79: parse error before `instance' gdttf.c:79: warning: data definition has no type or storage class gdttf.c:80: parse error before `char_map' gdttf.c:80: warning: data definition has no type or storage class gdttf.c:81: parse error before `matrix' gdttf.c:81: warning: data definition has no type or storage class gdttf.c:82: parse error before `imetrics' gdttf.c:82: warning: data definition has no type or storage class gdttf.c:84: parse error before `}' gdttf.c:84: warning: data definition has no type or storage class gdttf.c:90: parse error before `TT_Engine' gdttf.c:90: warning: no semicolon at end of struct or union gdttf.c:91: warning: data definition has no type or storage class gdttf.c:96: parse error before `TT_Glyph' gdttf.c:96: warning: no semicolon at end of struct or union gdttf.c:97: warning: data definition has no type or storage class gdttf.c:98: parse error before `outline' gdttf.c:99: parse error before `oldx' gdttf.c:99: warning: data definition has no type or storage class gdttf.c:100: parse error before `Bit' gdttf.c:100: warning: data definition has no type or storage class gdttf.c:104: parse error before `}' gdttf.c:104: warning: data definition has no type or storage class gdttf.c:110: parse error before `font_t' gdttf.c:110: warning: no semicolon at end of struct or union gdttf.c:111: warning: data definition has no type or storage class gdttf.c:122: parse error before `glyph_t' gdttf.c:122: warning: no semicolon at end of struct or union gdttf.c:123: warning: data definition has no type or storage class gdttf.c:151: parse error before `font_t' gdttf.c:169: warning: static declaration for `gdImageColorResolve' follows non-static gdttf.c: In function `fontTest': gdttf.c:369: `a' undeclared (first use in this function) gdttf.c:369: (Each undeclared identifier is reported only once gdttf.c:369: for each function it appears in.) gdttf.c:369: parse error before `)' gdttf.c:370: `b' undeclared (first use in this function) gdttf.c:370: parse error before `)' gdttf.c: In function `fontFetch': gdttf.c:380: `TT_Error' undeclared (first use in this function) gdttf.c:380: parse error before `err' gdttf.c:381: `a' undeclared (first use in this function) gdttf.c:382: `b' undeclared (first use in this function) gdttf.c:382: parse error before `)' gdttf.c:386: parse error before `)' gdttf.c:394: `err' undeclared (first use in this function) gdttf.c:398: `TT_Err_Could_Not_Open_File' undeclared (first use in this function) gdttf.c:421: `TT_F26Dot6' undeclared (first use in this function) gdttf.c:429: `n' undeclared (first use in this function) gdttf.c:431: `i' undeclared (first use in this function) gdttf.c:432: `platform' undeclared (first use in this function) gdttf.c:432: `encoding' undeclared (first use in this function) gdttf.c:446: `TT_Fixed' undeclared (first use in this function) gdttf.c: In function `fontRelease': gdttf.c:460: `a' undeclared (first use in this function) gdttf.c:460: parse error before `)' gdttf.c: In function `glyphTest': gdttf.c:475: `a' undeclared (first use in this function) gdttf.c:475: parse error before `)' gdttf.c:476: `b' undeclared (first use in this function) gdttf.c:476: parse error before `)' gdttf.c: In function `glyphFetch': gdttf.c:486: `a' undeclared (first use in this function) gdttf.c:487: `b' undeclared (first use in this function) gdttf.c:487: parse error before `)' gdttf.c:493: parse error before `)' gdttf.c:505: `flags' undeclared (first use in this function) gdttf.c:505: `TTLOAD_SCALE_GLYPH' undeclared (first use in this function) gdttf.c:507: `TTLOAD_HINT_GLYPH' undeclared (first use in this function) gdttf.c:509: `glyph_code' undeclared (first use in this function) gdttf.c:510: `err' undeclared (first use in this function) gdttf.c:527: `cos_a' undeclared (first use in this function) gdttf.c:528: `sin_a' undeclared (first use in this function) gdttf.c:529: `crect' undeclared (first use in this function) gdttf.c:545: `TT_Flow_Up' undeclared (first use in this function) gdttf.c: In function `glyphRelease': gdttf.c:565: `a' undeclared (first use in this function) gdttf.c:565: parse error before `)' gdttf.c: In function `bitmapTest': gdttf.c:579: `b' undeclared (first use in this function) gdttf.c:579: parse error before `)' gdttf.c: In function `bitmapFetch': gdttf.c:592: `b' undeclared (first use in this function) gdttf.c:592: parse error before `)' gdttf.c: At top level: gdttf.c:677: parse error before `font_t' gdttf.c: In function `gdttfchar': gdttf.c:690: `glyph' undeclared (first use in this function) gdttf.c:691: `glyphkey_t' undeclared (first use in this function) gdttf.c:691: parse error before `glyphkey' gdttf.c:692: `bitmapkey_t' undeclared (first use in this function) gdttf.c:704: `next' undeclared (first use in this function) gdttf.c:707: `glyphkey' undeclared (first use in this function) gdttf.c:710: `font' undeclared (first use in this function) gdttf.c:710: `fg' undeclared (first use in this function) gdttf.c:712: parse error before `)' gdttf.c:716: `bbox' undeclared (first use in this function) gdttf.c:717: `advance' undeclared (first use in this function) gdttf.c:720: `im' undeclared (first use in this function) gdttf.c:724: `bitmapkey' undeclared (first use in this function) gdttf.c:724: `x1' undeclared (first use in this function) gdttf.c:725: invalid operands to binary & gdttf.c:730: `x' undeclared (first use in this function) gdttf.c:731: `y' undeclared (first use in this function) gdttf.c:731: invalid operands to binary & gdttf.c:732: `tweencolorkey' undeclared (first use in this function) gdttf.c:760: `tweencolor' undeclared (first use in this function) gdttf.c: In function `gdttf': gdttf.c:776: `TT_F26Dot6' undeclared (first use in this function) gdttf.c:776: parse error before `ur_x' gdttf.c:778: `TT_BBox' undeclared (first use in this function) gdttf.c:779: parse error before `double' gdttf.c:781: `font' undeclared (first use in this function) gdttf.c:782: `fontkey_t' undeclared (first use in this function) gdttf.c:782: parse error before `fontkey' gdttf.c:789: `fontCache' undeclared (first use in this function) gdttf.c:790: `engine' undeclared (first use in this function) gdttf.c:799: `fontkey' undeclared (first use in this function) gdttf.c:803: parse error before `)' gdttf.c:807: `sin_a' undeclared (first use in this function) gdttf.c:808: `cos_a' undeclared (first use in this function) gdttf.c:809: `advance_x' undeclared (first use in this function) gdttf.c:809: `advance_y' undeclared (first use in this function) gdttf.c:811: `next' undeclared (first use in this function) gdttf.c:813: `ch' undeclared (first use in this function) gdttf.c:829: `x1' undeclared (first use in this function) gdttf.c:832: `error' undeclared (first use in this function) gdttf.c:832: `advance' undeclared (first use in this function) gdttf.c:835: `i' undeclared (first use in this function) gdttf.c:836: `ll_x' undeclared (first use in this function) gdttf.c:837: `ll_y' undeclared (first use in this function) gdttf.c:838: `ur_x' undeclared (first use in this function) gdttf.c:839: `ur_y' undeclared (first use in this function) make[3]: *** [gdttf.lo] Error 1 make[3]: Leaving directory `/php4install/php-4.0b3/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/php4install/php-4.0b3/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/php4install/php-4.0b3' make: *** [all-recursive-am] Error 2 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=3219

« previous php.dev (#34967) next »