note 55993 added to function.pdf-begin-page
| From: | rz at daimi dot au dot dk | Date: | Fri, 19 Aug 2005 23:53:38 +0000 |
| Subject: | note 55993 added to function.pdf-begin-page | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-93931@lists.php.net to get a copy of this message | ||
The problem is that A4 is *NOT* exactly 210mm*297mm.
(Further more, the 2.835016835017 is incorrect. You convert from mm to pps by dividing by 25.4 and
multiplying by 72. Hence the ratio is 2.83464566929133858267).
The code that I posted in may produces correct sizes.
(Except for the "m65" format, sorry. "m65" is the same as "dl", and
should return the same values).
----
Manual Page -- http://www.php.net/manual/en/function.pdf-begin-page.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55993
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55993&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55993&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55993&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55993&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55993&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55993&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55993&report=yes
Search -- http://master.php.net/manage/user-notes.php