note 52950 rejected from ref.pdf by didou

From: Date: Wed, 24 Jan 2007 07:47:22 +0000
Subject: note 52950 rejected from ref.pdf by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-122113@lists.php.net to get a copy of this message
Note Submitter: santa at selekcia dot com ---- used function pdf2string does not work corectly with all PDFs. There are problems when in PDF are used 0x0D, 0x0A as line separator. Better way is detect length via /Length tag and detect first 2 chars if they are 0x0d or 0x0d and 0x0a both. When I update this code i will send it, but if someone have now changed it please, publish it. May be it would be better to extend standard PDF lib included to PHP to add functionality to postprocess PDFs. It is usefull sometime to use for example templates, and so. Thnx to all developpers extending PHP functions and base team.

« previous php.notes (#122113) next »