Added preliminary support for adding image based fonts.
[imager.git] / lib / Imager / Font / FreeType2.pm
index bcf108d..9b1bbb4 100644 (file)
@@ -50,8 +50,8 @@ sub _draw {
              $input{string}, , $input{align}, $input{aa}, $input{vlayout},
              $input{utf8});
   } else {
-    i_ft2_text($self->{id}, $input{image}{IMG}, 
-               $input{'x'}, $input{'y'}, 
+    i_ft2_text($self->{id}, $input{image}{IMG},
+               $input{'x'}, $input{'y'},
                $input{color}, $input{size}, $input{sizew} || 0,
                $input{string}, $input{align}, $input{aa}, $input{vlayout},
                $input{utf8});