From e258fe297d2cf650f13871099a35fa2c6670c447 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Wed, 22 Jan 2003 12:06:29 +0000 Subject: [PATCH] die, GIF, die! git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@113018 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagettftext.xml | 51 ++++++++++++---------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/reference/image/functions/imagettftext.xml b/reference/image/functions/imagettftext.xml index 4746e36b1b..d1666f4953 100644 --- a/reference/image/functions/imagettftext.xml +++ b/reference/image/functions/imagettftext.xml @@ -1,5 +1,5 @@ - + @@ -8,17 +8,17 @@ Description - - arrayimagettftext - resourceimage - intsize - intangle - intx - inty - intcol - stringfontfile - stringtext - + + arrayimagettftext + resourceim + intsize + intangle + intx + inty + intcol + stringfontfile + stringtext + imagettftext draws the string text in the image identified by @@ -29,7 +29,7 @@ fontfile. Depending on which version of the GD library that PHP is using, when fontfile does not begin with a leading '/', '.ttf' will be appended to the filename and - the the library will attempt to search for that filename along a + the library will attempt to search for that filename along a library-defined font path. @@ -40,17 +40,17 @@ y define the upper-right corner of the first character. - Angle is in degrees, with 0 degrees being + angle is in degrees, with 0 degrees being left-to-right reading text (3 o'clock direction), and higher values representing a counter-clockwise rotation. (i.e., a value of 90 would result in bottom-to-top reading text). - Fontfile is the path to the TrueType font + fontfile is the path to the TrueType font you wish to use. - Text is the text string which may include + text is the text string which may include UTF-8 character sequences (of the form: &#123;) to access characters in a font beyond the first 255. @@ -71,17 +71,20 @@ This example script will produce a black GIF 400x30 pixels, with the words "Testing..." in white in the font Arial. - imagettftext + <function>imagettftext</function> example ]]>