note 81759 added to function.pdf-create-textflow
| From: | AlexandreLveill at osu1 dot php dot net | Date: | Wed, 12 Mar 2008 17:48:55 +0000 |
| Subject: | note 81759 added to function.pdf-create-textflow | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136974@lists.php.net to get a copy of this message | ||
I had trouble trouble adding the created textflow to the PDF. The create_textflow() method always
returned 0 no matter how many textFlow I created until I added "textlen" to the optlist
like this :
$length = strlen($infoJob['descriptionFac']);
$optlist = "fontname=Helvetica textlen=".$length." fontsize=".$fontSize."
encoding=winansi";
I don't know why, but apparently, in my case, textlen was a mandatory option...
----
Server IP: 69.147.83.197
Probable Submitter: 207.134.250.139
----
Manual Page -- http://www.php.net/manual/en/function.pdf-create-textflow.php
Edit -- https://master.php.net/note/edit/81759
Del: integrated -- https://master.php.net/note/delete/81759/integrated
Del: useless -- https://master.php.net/note/delete/81759/useless
Del: bad code -- https://master.php.net/note/delete/81759/bad+code
Del: spam -- https://master.php.net/note/delete/81759/spam
Del: non-english -- https://master.php.net/note/delete/81759/non-english
Del: in docs -- https://master.php.net/note/delete/81759/in+docs
Del: other reasons-- https://master.php.net/note/delete/81759
Reject -- https://master.php.net/note/reject/81759
Search -- https://master.php.net/manage/user-notes.php