----- Original Message -----
From: "Paul O'Russa" <[EMAIL PROTECTED]>
To: "'activeperl'" <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 4:29 PM
Subject: gd and fonts
> I've looked through the archives and I haven't seen anyone
post a solution
> to the GD with TrueType fonts problem some are having
(including me). I'm
> using GD::Graph and want to set the font+size on the text, but
when I set
> the font to a truetype font I get these square boxes where the
text should
> be. I've reinstalled GD, GDGraph, and GDTextUtil several
times. I'm using
> something like this:
>
> $graph->set_x_label_font('c:\code\perl\arial.ttf', 10);
>
> And yes, "$graph->can_do_ttf()" returns true. I'm running
build 623 on
> Windows 2000.
>
> Does anyone know what the problem is?
I'm not sure, but all I ever specify is the font name, not the
font file, and it works for me:
$graph->set_x_label_font('Arial', 10);
ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs