Schriftart in Modul GD
Christian Bliß
- perl
0 迪拉斯
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ß
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.