Hi all,

I've just installed GD::Graph and Apache::GD::Graph and they look great for 
what I want to do.  Unfortunately, I'm having a problem with fonts.

I've installed the ttfonts-1.0-3.noarch.rpm rpm which has given me some 
truetype fonts on my syste.  I've set up the various settings to point to the 
directory, but whatever parameters I give, it always uses the built-in 
gdLargeFont.

I've checked the permissions as suggested in the docs and I can't see what's 
wrong.  Below are the details of my box (RH7.2 with updates)

<Location /chart>
  SetHandler    perl-script
  PerlHandler   +Apache::GD::Graph
  ## These are optional (defaults shown)
  ##                            In days:
  PerlSetVar    Expires         1
  #
  ##                            In megs:
  #PerlSetVar   CacheSize       5242880
   PerlSetVar   CacheSize       0
   PerlSetVar   ImageType       png
   PerlSetVar   JpegQuality     75 
   PerlSetVar   TTFFontPath     /usr/share/fonts/default/TrueType/
</Location>

[root@larry TrueType]# ls -ld / /usr /usr/share/ /usr/share/fonts/ 
/usr/share/fonts/default/ /usr/share/fonts/default/TrueType/ 
/usr/share/fonts/default/TrueType/arir____.ttf
drwxr-xr-x   20 root     root         1024 Apr 18 10:50 /
drwxr-xr-x   20 root     root         4096 Mar  1 11:34 /usr
drwxr-xr-x  118 root     root         4096 Jan 13 18:59 /usr/share/
drwxr-xr-x    5 root     root         4096 Jan 13 18:36 /usr/share/fonts/
drwxr-xr-x    5 root     root         4096 Apr 19 11:04 
/usr/share/fonts/default/
drwxr-xr-x    2 root     root         4096 Apr 19 11:04 
/usr/share/fonts/default/TrueType/
-rw-r--r--    1 root     root        59740 Mar  7  2001 
/usr/share/fonts/default/TrueType/arir____.ttf
[root@larry TrueType]#

URL used
http://www.ringways.co.uk/chart?data1=[1,2,3,4,5]&title=Just%20A%20Line&title_font=(arir____.ttf,30)

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to