note 92670 added to function.imagickdraw-setfontsize
| From: | hmkrox at gmail dot com | Date: | Mon, 03 Aug 2009 14:10:26 +0000 |
| Subject: | note 92670 added to function.imagickdraw-setfontsize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159030@lists.php.net to get a copy of this message | ||
The font size taken in parameter is not the size in point (1 point = 1/72 inch) but the font's
height in pixel.
Therefore you should do a conversion to have the correct font size if you want to modify a document
destined to print.
For example, if your document's resolution is 300ppi, you should add a 25/6 multiplying factor
to your fontsize in order to have a correct behaviour of the font.
----
Server IP: 69.147.83.197
Probable Submitter: 83.204.61.87
----
Manual Page -- http://www.php.net/manual/en/function.imagickdraw-setfontsize.php
Edit -- https://master.php.net/note/edit/92670
Del: integrated -- https://master.php.net/note/delete/92670/integrated
Del: useless -- https://master.php.net/note/delete/92670/useless
Del: bad code -- https://master.php.net/note/delete/92670/bad+code
Del: spam -- https://master.php.net/note/delete/92670/spam
Del: non-english -- https://master.php.net/note/delete/92670/non-english
Del: in docs -- https://master.php.net/note/delete/92670/in+docs
Del: other reasons-- https://master.php.net/note/delete/92670
Reject -- https://master.php.net/note/reject/92670
Search -- https://master.php.net/manage/user-notes.php