]> git.imager.perl.org - imager.git/commitdiff
Imager::Font is pretty useless without Imager, so add C< use Imager; >
authorTony Cook <tony@develop=help.com>
Thu, 2 Jul 2009 09:33:09 +0000 (09:33 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 2 Jul 2009 09:33:09 +0000 (09:33 +0000)
to that too (Imager loads Imager::Font)

lib/Imager/Font.pm

index 1102e03068338b77721dcd58e6e78d9383eae244..7c367e3bacb9e7a5b0767e63fcca92b4010e7121 100644 (file)
@@ -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');