From 4f5484ff7cb4e3056187a86a6802245a994de946 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Sat, 26 Nov 2005 13:00:14 +0000 Subject: [PATCH] - the order of the returned values for Imager::Font's align() method was incorrect. --- Changes | 2 ++ lib/Imager/Font.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index d6cf78a5..54777a9f 100644 --- a/Changes +++ b/Changes @@ -1183,6 +1183,8 @@ Revision history for Perl extension Imager. - arc(..., fill=> ...) wasn't handling concave areas correctly - arc(..., color=>...) wasn't properly filling it's area - added experimental antialiased support to arc() +- the order of the returned values for Imager::Font's align() method + was incorrect. ================================================================= diff --git a/lib/Imager/Font.pm b/lib/Imager/Font.pm index d6e802bc..592ca2c6 100644 --- a/lib/Imager/Font.pm +++ b/lib/Imager/Font.pm @@ -592,7 +592,7 @@ Higher level text output - outputs the text aligned as specified around the given point (x,y). # "Hello" centered at 100, 100 in the image. - my ($left, $top, $bottom, $right) = + my ($left, $top, $right, $bottom) = $font->align(string=>"Hello", x=>100, y=>100, halign=>'center', valign=>'center', -- 2.39.5