ID: 32381 Updated by: [EMAIL PROTECTED] Reported By: dbarth at gmx dot net -Status: Open +Status: Feedback Bug Type: GD related Operating System: Mandrake 10 PHP Version: 5.0.3 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-03-22 00:33:17] dbarth at gmx dot net huh, now i tried the same with ttf fonts... and encountered the same error: Warning: imageftbbox() [function.imageftbbox]: Could not read font in ... on line 56 hmm, do these functions share the same lib? ------------------------------------------------------------------------ [2005-03-21 21:55:22] dbarth at gmx dot net So, i did like you say and upgraded t1lib, but now imageloadpsfont (the function i actually need) say's that it cant't load the font i supplied. What the hell is wrong? Is that a problem of t1lib? Under php4 with my old t1lib there wasn't any problem. ------------------------------------------------------------------------ [2005-03-20 17:54:27] [EMAIL PROTECTED] Update your t1lib. ------------------------------------------------------------------------ [2005-03-20 10:22:32] dbarth at gmx dot net Description: ------------ Hello I need to compile php with t1lib support, but i get follwing error while configuring: configure:30293: checking for jpeg_read_header in -ljpeg configure:30576: checking for png_write_image in -lpng configure:31675: checking for T1_StrError in -lt1 configure:31694: gcc -o conftest -g -O2 conftest.c -lt1 -lpng -lz -ljpeg -lg bm -lbz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz lm 1>&5 /tmp//ccaz46FM.o(.text+0x9): In function `main': /usr/local/src/php-5.0.3/configure:31690: undefined reference to `T1_StrError' collect2: ld returned 1 exit status configure: failed program was: #line 31683 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char T1_StrError(); int main() { T1_StrError() ; return 0; } any suggestions? (ver: t1lib 1.3.1) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32381&edit=1