[php-maint] Bug#334746: php4-gd: Unable to use truetype fonts (workaround provided)

Steve Langasek vorlon at debian.org
Wed Oct 19 20:05:29 UTC 2005


On Wed, Oct 19, 2005 at 06:59:57PM +0200, J.L. Fernandez Jambrina wrote:
> I't seems that php4-gd search for fonts in the directory 
> /usr/share/fonts/truetype
> while the truetype fonts are installed in subdirectories:

> Example:
>   The package msttcorefonts install it's fonts in 
>  /usr/share/fonts/truetype/msttcorefonts 

>  Other fonts appear in:
>  /usr/share/fonts/truetype/ttf-bitstream-vera
>  /usr/share/fonts/truetype/openoffice
>  /usr/share/fonts/truetype/msttcorefonts
>  /usr/share/fonts/truetype/freefont
>  /usr/share/fonts/truetype/thryomanes

> Workaround:
>  copy the fonts to the  /usr/share/fonts/truetype directory:

>  	cd  /usr/share/fonts/truetype
>  	cp  msttcorefonts/* .

Why would you not just specify the font as a path relative to the
/usr/share/fonts/truetype directory?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20051019/4ee2a3f3/attachment.pgp


More information about the pkg-php-maint mailing list