File_PDF parenthesis () causing strange characters in pdf
| From: | Matthew Deir | Date: | Mon, 03 Apr 2006 21:26:56 +0000 |
| Subject: | File_PDF parenthesis () causing strange characters in pdf | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23527@lists.php.net to get a copy of this message | ||
I'm getting some strange characters output in my pdf when I try to write
text containing parenthesis using File_PDF. It looks like there is a
function to escape them but it doesn't seem to be helping me out. It is
outputting some sprintf magic from the text function and gets choked up when
it hits the brackets. $out = sprintf('BT %.2f %.2f Td (%s) Tj ET', $x, $y,
$text);
Any help or direction appreciated.
Thanks,
Matt.