ID: 33484 User updated by: designshoe at gmx dot net Reported By: designshoe at gmx dot net -Status: Feedback +Status: Open Bug Type: *Graphics related Operating System: linux PHP Version: 4.3.10 New Comment:
I finally managed to set up a system with PHP 5.1.0-dev (php5-200506271430). The problem still exists: http://krapplack.de/php-bug/textimage_php-5.1.0-dev.png My new configure line: './configure' '--prefix=/opt/phpcvs/usr' '--datadir=/opt/phpcvs/usr/share/php' '--mandir=/opt/phpcvs/usr/share/man' '--bindir=/opt/phpcvs/usr/bin' '--libdir=/opt/phpcvs/usr/share' '--includedir=/opt/phpcvs/usr/include' '--sysconfdir=/opt/phpcvs/etc' '--with-_lib=lib' '--with-config-file-path=/opt/phpcvs/etc' '--with-exec-dir=/opt/phpcvs/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--with-gd' '--with-freetype-dir=/usr/include/freetype2/freetype' '--with-png-dir=/usr/include/libpng12' '--with-jpeg-dir=/usr/include' '--with-zlib-dir=/usr/include' '--with-bz2' '--with-mysql=/usr/include/mysql' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' Note on snaps: I must say that it would be a lot easier to test with snaps if there were a test system a php.net available. Maybe this could be an option for the future as it would help speed up and simplify testing bugs against the most current devel version. Cheers, Thomas Previous Comments: ------------------------------------------------------------------------ [2005-06-27 10:52:51] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-06-27 07:08:00] designshoe at gmx dot net Description: ------------ I have been playing around with a class that would render a given text using any font (truetype, type1) on a canvas. I developed on an box that has PHP 4.3.8 installed. I have tested it on PHP 4.3.9 before. Now that I moved to PHP 4.3.10 on my server the text gets very ugly. And it is the same on 5.0.3. See the examples: http://krapplack.de/php-bug/textimage_php-4.3.8.png (works) http://krapplack.de/php-bug/textimage_php-4.3.10.png (broken) http://krapplack.de/php-bug/textimage_php-5.0.3.png (broken) As you can see, there are some white boxes around some of the characters. I hope that we will find the source of the problem. Here are the three different configure lines: 4.3.8 './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' 4.3.10 './configure' '--program-prefix=php4-' '--prefix=/usr/local/php4' '--datadir=/usr/share/php4' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2=shared' '--with-dom=shared,/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--with-ttf=shared' '--with-gdbm=shared' '--with-gettext=shared' '--with-iconv=shared' '--with-jpeg-dir=shared,/usr' '--with-openssl' '--with-png=shared' '--with-pspell=shared' '--with-regex=system' '--with-xml=shared' '--with-expat=shared' '--with-zlib=/usr/local' '--with-zlib-dir=/usr/local' '--with-layout=GNU' '--enable-bcmath=shared' '--enable-exif=shared' '--enable-ftp=shared' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-versioning' '--enable-calendar=shared' '--enable-dbx=shared' '--enable-dio=shared' '--enable-mcal=shared' '--enable-dba=shared' '--enable-dbase=shared' '--with-ndbm=shared' '--with-ndb=shared' '--with-mcrypt=shared' '--with-mhash=shared' '--with-ming=shared' '--with-curl=shared,/usr' '--with-apxs=/usr/local/apache/bin/apxs' 5.0.3-1.dotdeb.0 '../configure' '--disable-cli' '--prefix=/usr' '--with-regex=php' '--enable-fastcgi' '--enable-force-cgi-redirect' '--with-config-file-path=/etc/php5/cgi' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--disable-pear' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db2' '--enable-dbx' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--enable-dbase' '--with-gettext' '--with-mime-magic' '--enable-mbstring' '--with-pcre-regex' '--enable-shmop' '--enable-soap' '--enable-sockets' '--enable-simplexml' '--with-libxml-dir=/usr' '--with-dom=/usr' '--with-xsl=/usr' '--with-sqlite' '--enable-sqlite-utf8' '--enable-tokenizer' '--enable-yp' '--with-zlib' '--with-zlib-dir=/usr' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-exec-dir=/usr/lib/php5/libexec' '--disable-static' '--without-pear' '--without-mm' '--enable-pcntl' '--without-mysql' '--without-sybase-ct' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33484&edit=1