Skip Menu |

This queue is for tickets about the PDF-Cairo CPAN distribution.

Report information
The Basics
Id: 129790
Status: open
Priority: 0/
Queue: PDF-Cairo

People
Owner: JGREELY [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.04
Fixed in: (no value)



Subject: error setting char size of freetype face: invalid pixel size
On some freebsd systems the t/00-load.t test fails like this: ... # Library versions linked against: # cairo: 1.14.6 # pango: 1.38.0 # freetype: 2.6.3 # Testing PDF::Cairo 1.04, Perl 5.020001, /usr/perl5.20.1Dp/bin/perl5.20.1 error setting char size of freetype face: invalid pixel size at /home/cpansand/.cpan/build/2019060904/PDF-Cairo-1.04-ESLx5l/blib/lib/PDF/Cairo/Font.pm line 167. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 13. t/00-load.t ... Dubious, test returned 255 (wstat 65280, 0xff00) All 13 subtests passed ...
On Sun Jun 09 05:23:02 2019, SREZIC wrote: Show quoted text
> error setting char size of freetype face: invalid pixel size at
Best guess, it's getting a bitmap font when it tries to load 'Times-BoldItalic' in the test, so that setting the size to 1 point is invalid. I'll have to add an is_scalable check and croak if it gets a bitmap. Since I've added two TTF fonts to the tarball, I can make the test more robust by having it load one of them.