note 17944 added to ref.cpdf

From: Date: Fri, 04 Jan 2002 13:17:16 +0000
Subject: note 17944 added to ref.cpdf
Groups: php.notes 
Request: Send a blank email to php-notes+get-24391@lists.php.net to get a copy of this message
There is a small error in the first example. The call to cpdf_page_init() should read: cpdf_page_init($cdpf, 1, 0, 595, 842, 1) The last parameter is missing, which means the function defaults to 72, i.e. inches, whereas the units in the rest of the code are obviously in points. The result is that the text is written outside the page. It works fine with the corrected call. -- http://www.php.net/manual/en/ref.cpdf.php http://master.php.net/manage/user-notes.php?action=edit+17944 http://master.php.net/manage/user-notes.php?action=delete+17944 http://master.php.net/manage/user-notes.php?action=reject+17944

« previous php.notes (#24391) next »