phpbar.de logo

Mailinglisten-Archive

[php] ttf unter PHP und Apache zum laufen bringen

[php] ttf unter PHP und Apache zum laufen bringen

=?iso-8859-1?Q?=D6nder_Balkaya?= ob_(at)_wwl.de
Mon, 10 Jan 2000 15:33:56 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0084_01BF5B80.1B836280
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hallo,
wie bekomme ich unter einem Apache Server mit PHP ,
ttf (true typen) zum laufen?

Folgendes Script verwend ich zur Zeit:
<?php
Header("Content-type: image/gif");
$im =3D imagecreate(400,30);
$black =3D ImageColorAllocate($im, 0,0,0);
$white =3D ImageColorAllocate($im, 255,255,255);
imagettftext($im, 20, 0, 10, 20, $white, "neuropol.ttf", "Testing... =
Omega: &#937;");
ImageGif($im);
ImageDestroy($im);
?>


Folgende Fehlermeldung trifft ein:
<br>
<b>Fatal error</b>:  Call to unsupported or undefined function =
imagettftext() in <b>/home/docs/phtml/test.php3</b> on line <b>6</b><br>


Vielen Dank schon einmal im Vorraus
=D6nder Balkaya

------=_NextPart_000_0084_01BF5B80.1B836280
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hallo,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>wie bekomme ich unter einem Apache =
Server mit PHP=20
,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ttf (true typen) zum =
laufen?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Folgendes Script verwend ich zur =
Zeit:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;?php<BR>Header("Content-type:=20
image/gif");<BR>$im =3D imagecreate(400,30);<BR>$black =3D =
ImageColorAllocate($im,=20
0,0,0);<BR>$white =3D ImageColorAllocate($im, =
255,255,255);<BR>imagettftext($im,=20
20, 0, 10, 20, $white, "neuropol.ttf", "Testing... Omega:=20
&amp;#937;");<BR>ImageGif($im);<BR>ImageDestroy($im);<BR>?&gt;</FONT></DI=
V>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Folgende Fehlermeldung trifft =
ein:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
face=3D"Courier New">&lt;br&gt;<BR>&lt;b&gt;Fatal error&lt;/b&gt;:&nbsp; =
Call to=20
unsupported or undefined function imagettftext() in=20
&lt;b&gt;/home/docs/phtml/test.php3&lt;/b&gt; on line=20
&lt;b&gt;6&lt;/b&gt;&lt;br&gt;</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3D"Courier New">Vielen Dank schon einmal =
im=20
Vorraus</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Courier New">=D6nder=20
Balkaya</FONT></DIV></FONT></BODY></HTML>

------=_NextPart_000_0084_01BF5B80.1B836280--



php::bar PHP Wiki   -   Listenarchive