force FT2 usage, hopefully for better text consistency
authorTony Cook <tony@develop-help.com>
Wed, 12 Dec 2007 23:43:51 +0000 (23:43 +0000)
committerTony Cook <tony@develop-help.com>
Wed, 12 Dec 2007 23:43:51 +0000 (23:43 +0000)
t/t10pie.t
testimg/t10_lin_fount.png
testimg/t10_mono.png
testimg/t10_rad_fount.png

index 61a4032..61cf7f6 100644 (file)
@@ -14,7 +14,7 @@ my $testnum = 1;
 use Imager qw(:handy);
 
 my $fontfile = 'ImUgly.ttf';
-my $font = Imager::Font->new(file=>$fontfile, aa=>1)
+my $font = Imager::Font->new(file=>$fontfile, type => 'ft2', aa=>1)
   or plan skip_all => "Cannot create font object: ",Imager->errstr,"\n";
 
 my @data = ( 100, 180, 80, 20, 2, 1, 0.5 );
index 317f51d..4b5985e 100644 (file)
Binary files a/testimg/t10_lin_fount.png and b/testimg/t10_lin_fount.png differ
index 7486ab5..52ed5a7 100644 (file)
Binary files a/testimg/t10_mono.png and b/testimg/t10_mono.png differ
index 37f5bcb..2309549 100644 (file)
Binary files a/testimg/t10_rad_fount.png and b/testimg/t10_rad_fount.png differ