I had a similar problem on win server. Check Core::PDF if you have correct path to the font files (PDF::TTFontFile###Proportional) - try full path.
Michal -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of James Roman Sent: Thursday, May 05, 2011 3:02 PM To: [email protected] Subject: Re: [otrs] PDF Reports failing in 3.0.7 I installed the dejavu-lgc-fonts package and created a symbolic link to the directory they are installed in: ln -s ../../../../../../share/fonts/dejavu-lgc /usr/lib/perl5/site_perl/5.8.8/PDF/API2/fonts After a restarting the services, I still receive the same error. It looks like an empty font name is being passed to the FontFile.pm module. The specific line (424) reads: die "cannot find font '$file' ..." unless(-f $file); I'm not quite sure where the call to FontFile->new() is coming from though. Is there a way to turn on debugging? On 05/04/2011 11:44 AM, Stephen Hall wrote: > James, > > A bit of googling returned this: > > http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layo > ut=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fforums.otrs.org%2Fviewtopic.p > hp%3Ff%3D30%26t%3D2078 > > Hope it helps. > > Steve > > On 4 May 2011 15:48, James Roman<[email protected]> wrote: >> We are building a a new OTRS system on a Centos 5.6. I am trying to >> work with reports/statistics. We can generate CSV reports ok, but the >> PDF reports fail. I keep getting the following error: >> >> cannot find font '' ... at >> /usr/lib/perl5/site_perl/5.8.8/PDF/API2/Resource/CIDFont/TrueType/Fon >> tFile.pm >> line 424. >> >> Is there some dependency that I missed or is this a configuration issue? >> >> # /opt/otrs/bin/otrs.CheckModules.pl >> o CGI............................ok (v3.50) >> o Crypt::PasswdMD5...............ok (v1.3) >> o CSS::Minifier..................ok (v0.01) >> o Date::Format...................ok (v2.22) >> o Date::Pcalc....................ok (v1.2) >> o DBI............................ok (v1.52) >> o DBD::mysql.....................ok (v3.0007) >> o Digest::MD5....................ok (v2.36) >> o Digest::SHA::PurePerl..........ok (v5.48) >> o Encode::HanExtra...............Not installed! (Optional - >> Required to handle mails with several Chinese character sets.) >> o GD.............................ok (v2.46) >> o GD::Text....................ok (v0.86) >> o GD::Graph...................ok (v1.44) >> o GD::Graph::lines............ok (v1.15) >> o GD::Text::Align.............ok (v1.18) >> o IO::Scalar.....................ok (v2.110) >> o IO::Wrap.......................ok (v2.110) >> o JavaScript::Minifier...........ok (v1.05) >> o JSON...........................ok (v2.50) >> o JSON::PP....................ok (v2.27103) >> o JSON::XS....................ok (v2.3) >> o LWP::UserAgent.................ok (v2.033) >> o Mail::Internet.................ok (v2.07) >> o Mail::POP3Client...............ok (v2.18 ) >> o IO::Socket::SSL.............ok (v1.01) >> o MIME::Base64...................ok (v3.07) >> o MIME::Tools....................ok (v5.428) >> o ModPerl::Util..................ok (v2.000004) >> o Apache::DBI.................ok (v1.09) >> o Apache2::Reload.............ok (v0.11) >> o Net::DNS.......................ok (v0.59) >> o Net::POP3......................ok (v2.28) >> o Net::IMAP::Simple..............ok (v1.2017) >> o Net::IMAP::Simple::SSL......ok (v1.3) >> o Net::SMTP......................ok (v2.29) >> o Authen::SASL................ok (v2.15) >> o Net::SMTP::SSL..............ok (v1.01) >> o Net::SMTP::TLS::ButMaintainedok (v0.13_01) >> o Net::LDAP......................ok (v0.33) >> o PDF::API2......................ok (v2.019) >> o Compress::Zlib..............ok (v1.42) >> o SOAP::Lite.....................Not installed! (Optional - >> Required for the SOAP interface.) >> o Text::CSV......................ok (v1.21) >> o Text::CSV_PP................ok (v1.29) >> o Text::CSV_XS................ok (v0.81) >> o XML::Parser....................ok (v2.34) >> >> --------------------------------------------------------------------- >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/pipermail/otrs >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
