Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. https://bugzilla.redhat.com/show_bug.cgi?id=447505 Summary: Wrong path to the font directory in API.pm. Product: Fedora Version: 9 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: perl-PDF-API2 AssignedTo: bjohnson@xxxxxxxxxxxx ReportedBy: mh@xxxxxxxx QAContact: extras-qa@xxxxxxxxxxxxxxxxx CC: fedora-perl-devel-list@xxxxxxxxxx >From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Description of problem: Hi @ all The API2.pm located in /usr/lib/perl5/vendor_perl/5.10.0/PDF/ contains the following line in the BEGINN section: > @FontDirs = ( qw[ /usr/share/fonts/dejavu-fonts /usr/share/fonts ] ); The path to the DeJaVu font files is wrong! The correct path is /usr/share/fonts/dejavu! This is the correct code: > @FontDirs = ( qw[ /usr/share/fonts/dejavu /usr/share/fonts ] ); This bug produces a crash of the PDF::API2 module if you load a DeJaVu font. Best regards, Manuel Hecht Development OTRS::ITSM Version-Release number of selected component (if applicable): perl-PDF-API2.noarch 0.69-3.fc9 How reproducible: Always Steps to Reproduce: Load a DeJaVu font in a perl file to reproduce the error: e. g. my $Font = $PDF->ttfont( 'DejaVuSans.ttf' ); Actual Results: The perl script dead with an syntax error. Expected Results: Additional info: -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list