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 61a403227301bb86663e2a640a0b8fae7ed89e50..61cf7f6f35168dab3e7ad3f620bb67809d83daf6 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 317f51d4344c3f3148e903d65312d96a1f3b410e..4b5985e2c7bda89cb8b7b0de7cb27957d94d34bc 100644 (file)
Binary files a/testimg/t10_lin_fount.png and b/testimg/t10_lin_fount.png differ
index 7486ab5b588d85e3d1fe5fc97ce0b9ab05737897..52ed5a76ce54734012c6608a133d655b5824400e 100644 (file)
Binary files a/testimg/t10_mono.png and b/testimg/t10_mono.png differ
index 37f5bcbc426a502fefef7ecf855bf741fec6ca5b..2309549a6274a9f0c27bdb160d6a888c9f4e45ef 100644 (file)
Binary files a/testimg/t10_rad_fount.png and b/testimg/t10_rad_fount.png differ