php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch imagettfbox_size_param for Documentation problem Bug #54976

Patch version 2011-06-04 02:06 UTC

Return to Bug #54976 | Download this patch
Patch Revisions:

Developer: frozenfire@php.net

Index: imagettfbbox.xml
===================================================================
--- imagettfbbox.xml	(revision 311792)
+++ imagettfbbox.xml	(working copy)
@@ -26,7 +26,13 @@
     <varlistentry>
      <term><parameter>size</parameter></term>
      <listitem>
-      <para>&gd.image.colors;</para>
+      <para>
+       The font size.
+       <note>
+        In GD 1, this is measured in pixels. In GD 2, this is measured in
+        points.
+       </note>
+      </para>
      </listitem>
     </varlistentry>
     <varlistentry>
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 12:00:01 2026 UTC