Subject: | t/t35ttfont.t fails due to "ok" not starting on a newline |
Attached is a patch to fix a problem where on Mandriva Cooker 2007,
with libfreetype6-2.3.1-1plf2007.1 installed, the t/t35ttfont.t fails
due to an "ok $I" that is not displayed on a fresh line. Apparently
Imager::i_tt_dump_names($hcfont->{id}) may not necessary terminate
with a newline.
Regards,
Shlomi Fish
Subject: | Imager-ttf-newline.patch |
--- t/t35ttfont.t.orig 2007-02-09 16:33:01.598524382 +0200
+++ t/t35ttfont.t 2007-02-09 16:31:42.626548717 +0200
@@ -147,6 +147,7 @@
print "# ** name table of the test font **\n";
Imager::i_tt_dump_names($hcfont->{id});
+ print "\n";
# the test font is known to have a shorter advance width for that char
my @bbox = $hcfont->bounding_box(string=>"/", size=>100);