ID: 15212 Comment by: honda-mv at web dot de Reported By: php at phpee dot com Status: Bogus Bug Type: GD related Operating System: Debian Woody PHP Version: 4.1.1 New Comment:
i did not receive the pphlogger.js-file kann you please send it to me? thank you very much Previous Comments: ------------------------------------------------------------------------ [2004-01-27 05:23:34] phil at jamit dot de I get the same problem with PHP/4.3.3 on w32 (Windows XP). It's not possible to load a font-file using a path with a SPACE in it. thanks phil ------------------------------------------------------------------------ [2002-06-28 05:22:44] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [2002-01-24 16:32:52] php at phpee dot com TTF-functions, e.g. ImageTTFBBox(), are not working properly in 4.1.1 (GD1, Freetype 2.0.5) anymore as they did in 4.0.5 I've encountered the same problem already with 4.1.0RC2, GD2 (2.0.1), Freetype 2.0.5. Those functions require an absolute path instead of a relative one. (what's the point of this?) Now, when I'm using an absolute path everything works, as long as there is no space in the filename. If I'm trying to do this it won't find the ttf-file: $ttf_file = '/home/foo/Avalon Quest.ttf'; ImageTTFBBox(14,0,$ttf_file,'12345'); I'm getting the following error: /home/foo/Avalon Quest.ttf Warning: Could not find/open font in ... I tried it also with '/home/foo/Avalon\ Quest.ttf' and '"/home/foo/Avalon Quest.ttf"' I've noticed the difference between 4.0.5 and 4.1.1 in the Freetype linkage (the old one was "with TTF library", the new one "with freetype") - Don't know if that's a configuration problem or a bug... ? configure options: '../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--disable-debug' '--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db2' '--with-iconv' '--with-ndbm' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--with-xml=/usr' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' '--without-pgsql' '--disable-static' '--with-layout=GNU' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr' Thanks philip ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15212&edit=1