note 81759 deleted from function.pdf-create-textflow by nlopess

From: Date: Wed, 12 Mar 2008 19:45:33 +0000
Subject: note 81759 deleted from function.pdf-create-textflow by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-136976@lists.php.net to get a copy of this message
Note Submitter: Alexandre Lveill ---- 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...

« previous php.notes (#136976) next »