Bug #15212 Updated: Freetype Linkage in 4.1.1 / absolute paths in TTF-functions

From: Date: Fri, 28 Jun 2002 09:22:44 +0000
Subject: Bug #15212 Updated: Freetype Linkage in 4.1.1 / absolute paths in TTF-functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12380@lists.php.net to get a copy of this message
ID: 15212 Updated by: sniper@php.net Reported By: php@phpee.com -Status: Open +Status: Bogus Bug Type: GD related Operating System: Debian Woody PHP Version: 4.1.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-01-24 16:32:52] php@phpee.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

« previous php.bugs (#12380) next »