reference/image/functions/imagefttext.xml
9960a09a5705102bf4dd0ce63e03d9ec716d0015
9960a09a5705102bf4dd0ce63e03d9ec716d0015
...
...
@@ -96,13 +96,6 @@
96
96
to the filename and the library will attempt to search for that
97
97
filename along a library-defined font path.
98
98
</para>
99
-
<para>
100
-
When using versions of the GD library lower than 2.0.18, a <literal>space</literal> character,
101
-
rather than a semicolon, was used as the 'path separator' for different font files.
102
-
Unintentional use of this feature will result in the warning message:
103
-
<literal>Warning: Could not find/open font</literal>. For these affected versions, the
104
-
only solution is moving the font to a path which does not contain spaces.
105
-
</para>
106
99
<para>
107
100
In many cases where a font resides in the same directory as the script using it
108
101
the following trick will alleviate any include problems.
...
...
@@ -248,7 +241,6 @@ imagefttext($im, 13, 0, 105, 55, $black, $font_file, 'PHP Manual');
248
241
header('Content-Type: image/png');
249
242
250
243
imagepng($im);
251
-
imagedestroy($im);
252
244
?>
253
245
]]>
254
246
</programlisting>
255
247