]> git.imager.perl.org - imager.git/commitdiff
typo fixes
authorDavid Steinbrunner <dsteinbrunner@pobox.com>
Wed, 10 Jul 2013 12:21:36 +0000 (08:21 -0400)
committerTony Cook <tony@develop-help.com>
Thu, 31 Oct 2013 01:05:55 +0000 (12:05 +1100)
lib/Imager/Font.pm

index 7f449b1f1bccbb639753344af212f0e163b49d88..26e34ad1f408beac51c6ed9702ce834c320817a2 100644 (file)
@@ -260,7 +260,7 @@ sub bounding_box {
       $box[0]+=$input{'x'};
       $box[2]+=$input{'x'};
     } elsif (@box && $input{'canon'}) {
-      $box[3]-=$box[1];    # make it cannoical (ie (0,0) - (width, height))
+      $box[3]-=$box[1];    # make it canonical (ie (0,0) - (width, height))
       $box[2]-=$box[0];
     }
     return @box;
@@ -996,7 +996,7 @@ For example:
 
  $x = pack("C*", 0xE2, 0x80, 0x90); # character code 0x2010 HYPHEN
 
-You need to be be careful with versions of perl that have UTF-8
+You need to be careful with versions of perl that have UTF-8
 support, since your string may end up doubly UTF-8 encoded.
 
 For example: