From: Tony Cook Date: Fri, 12 Nov 2010 23:28:02 +0000 (+0000) Subject: report the error if we can't load the MM font X-Git-Tag: Imager-0.79~13 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/4bc9bad28206dfabee787d2813d321e1a255d4d0 report the error if we can't load the MM font --- diff --git a/FT2/t/t10ft2.t b/FT2/t/t10ft2.t index e8546ebb..51495716 100644 --- a/FT2/t/t10ft2.t +++ b/FT2/t/t10ft2.t @@ -344,7 +344,8 @@ SKIP: print "# Try a multiple master font\n"; my $mmfont = Imager::Font->new(file=>"fontfiles/MMOne.pfb", type=>"ft2", color=>"white", aa=>1, size=>60); - ok($mmfont, "loaded MM font"); + ok($mmfont, "loaded MM font") + or print "# ", Imager->errstr, "\n"; ok($mmfont->is_mm, "font is multiple master"); my @axes = $mmfont->mm_axes; is(@axes, 2, "check we got both axes");