Christian Bliß: Schriftart in Modul GD

Hallo,

wie kann ich denn die Schriftart im PERL-Modul GD ändern?

$img->string(gdMediumBoldFont, 10, 10, "Hallo Welt", $color);

also außerhalb der paar vorgegeben gdXxxxXxxxXxxx ... wie kann ich z.B. in Verdana oder Arial schreiben?

Gruß
Christian Bliß

--
Selfcode: fo:| ch:{ rl:( br:> n4:~ ie:% mo:} va:) de:< zu:| fl:( ss:) ls:> js:{
  1. Hey,
    RTFD. http://search.cpan.org/dist/GD/GD.pm#Font_Utilities
    | The libgd library (used by the Perl GD library) has built-in support for
    | about half a dozen fonts, which were converted from public-domain X Windows
    | fonts. For more fonts, compile libgd with TrueType support and use the
    | stringFT() call.

    --
    水-金-地-火-木-土-天-海-冥