From: David Steinbrunner Date: Wed, 10 Jul 2013 12:21:36 +0000 (-0400) Subject: typo fixes X-Git-Tag: v0.98~3^2~6 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/5237562b46a02563352ba1d7afa60dbeefbacb23 typo fixes --- diff --git a/lib/Imager/Font.pm b/lib/Imager/Font.pm index 7f449b1f..26e34ad1 100644 --- a/lib/Imager/Font.pm +++ b/lib/Imager/Font.pm @@ -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: