[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where to put TTF's for use by GD
From: |
David Turner |
Subject: |
Re: Where to put TTF's for use by GD |
Date: |
Thu, 06 Apr 2000 10:49:36 +0200 |
Hi Chris,
> I must be missing something blindly obvious since I can't seem to work
> out where a TTF file should be placed on the system so that the font is
> accessible by GD.pm, as per
>
> ... "
>
> @bounds =
> GD::Image->stringTTF(fgcolor,fontname,ptsize,angle,x,y,string) Class
> Method
>
> This method uses TrueType to draw a scaled, antialiased string using
> the TrueType vector font of your choice. It requires that libgd to have
> been compiled with TrueType support, and for the appropriate TrueType
> font to be installed on your system.
>
> " ...
>
> It's the "how to install a TrueType font on your system" bit of the FAQ
> and docs I seems to be missing (yes the Freetype docs that is ;-)
>
> Any constructive suggestions much appreciated.
>
Actually, this is more a GD question than a FreeType one, but I suspect
that you should simply use an absolute pathname to indicate where the
font is.
There is no standard place where fonts are installed in Unix, even if
some attempts have been made..
Best Regards,
- David
> Thanks,
> Chr!s
>
> PS: Using GD-1.27, gd-1.8.1, libpng-1.0.6, zlib-1.1.2, jpef-6b and
> freetype-1.3.1 on Solaris 2.6 & 2.7
>
> - - - - - -
> Chris Cooper address@hidden
> Project Manager (CWIS) address@hidden
> Edith Cowan University http://www.ecu.edu.au/
> Pearson Street Tel: +61 8 9273 8652
> Churchlands Fax: +61 8 9273 8000
> - - - - - -
> checking if we can use GCC-specific compiler options... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> ordering CD from http://ee-staff.ethz.ch/~oetiker/wish .... just
> kidding ;-)