Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #8773 PDF Convertor fails due to being unable to find fonts
Submitted: 2006-09-23 15:54 UTC
From: phpdoc at ryanwilliams dot org Assigned: cellog
Status: Closed Package: PhpDocumentor (version 1.3.0)
PHP Version: 5.1.6 OS: Linux / FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2006-09-23 15:54 UTC] phpdoc at ryanwilliams dot org (Ryan Williams)
Description: ------------ PDF:default:default causes a lot of undefined index errors when trying to output a PDF. The resulting file is screwed up. The cause is due to the class.pdf.php file looking in a relative directory for the fonts "./templates/fonts". The full path being: /usr/local/share/pear/PhpDocumentor/phpDocumentor/Converters/ PDF/default/templates/fonts/ This fails because pear has placed the fonts in the following directory /usr/local/share/pear/data/PhpDocumentor/phpDocumentor/ Converters/PDF/default/templates/fonts/ A simple symlink to the templates directory fixes the issue. Test script: --------------- Just output any documentation as PDF:default:default Expected result: ---------------- A working PDF file Actual result: -------------- Screwed up PDF as the convertor is unable to work out the height of the fonts and prints every line of text directly on top of the next

Comments

 [2006-10-22 18:54 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!