From: Tony Cook <tony@develop=help.com> Date: Thu, 2 Jul 2009 09:33:09 +0000 (+0000) Subject: Imager::Font is pretty useless without Imager, so add C< use Imager; > X-Git-Tag: Imager-0.71~37 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/74d27b0b86b53b33da28ba0fada7a128127f75ac Imager::Font is pretty useless without Imager, so add C< use Imager; > to that too (Imager loads Imager::Font) --- diff --git a/lib/Imager/Font.pm b/lib/Imager/Font.pm index 1102e030..7c367e3b 100644 --- a/lib/Imager/Font.pm +++ b/lib/Imager/Font.pm @@ -338,6 +338,8 @@ Imager::Font - Font handling for Imager. =head1 SYNOPSIS + use Imager; + $t1font = Imager::Font->new(file => 'pathtofont.pfb'); $ttfont = Imager::Font->new(file => 'pathtofont.ttf'); $w32font = Imager::Font->new(face => 'Times New Roman');