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

Bug #12092 escape character in writeRotated
Submitted: 2007-09-21 14:16 UTC
From: jeremy Assigned: yunosh
Status: Closed Package: File_PDF (version 0.3.0)
PHP Version: 5.2.3 OS: Vista
Roadmaps: (Not assigned)    
Subscription  


 [2007-09-21 14:16 UTC] jeremy (Jeremy Jennings)
Description: ------------ When outputting the pdf, writeRotated is including the escape character before each parentheses. Test script: --------------- <?php require 'File/PDF.php'; //Start PDF $p = &File_PDF::factory('P', 'mm', 'Letter'); $p->open(); $p->addPage(); $p->setFillColor('gray', 0); $p->setXY(100 , 100); $p->setFont('helvetica', 'B' , 14); $p->write(0 , 'Year (2003) Summary'); $p->newLine(); $p->writeRotated(100, 120, 'Year (2003) Summary', 0); //Output $p->setDisplayMode('fullpage', 'one'); $p->output('mytest.pdf', true); $p->close(); Expected result: ---------------- The two lines show the same result (i.e., no escape character before the parenthesis). Actual result: -------------- writeRotated shows an escape character before each parentheses.

Comments

 [2007-09-21 14:35 UTC] yunosh (Jan Schneider)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.