Problem loading fonts in gd()
From: Eric (eric_at_broadpark.no)
Date: 11/29/03
- Next message: Gerard Samuel: "Re: [PHP] DAMN"
- Previous message: Eric: "Re: Test"
- Next in thread: Jason Wong: "Re: [PHP] Problem loading fonts in gd()"
- Reply: Jason Wong: "Re: [PHP] Problem loading fonts in gd()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: php-general@lists.php.net Date: Sat, 29 Nov 2003 16:15:11 +0100
Hello all PHP gurus
I have a small problem about loading fonts with imageloadfont()
I have copyed fonts with the extension .fon or .ttf to the same directory as
my script, and i give them the font as an argument:
$font = imageloadfont('arial.ttf');
But i just keep getting the message:
Warning: imageloadfont(): Error reading font in c:\program files\apache
group\apache\htdocs\gd_test.php on line 35
Does anyone know how to properly load fonts into gd, without getting this
error message?
Eric
- Next message: Gerard Samuel: "Re: [PHP] DAMN"
- Previous message: Eric: "Re: Test"
- Next in thread: Jason Wong: "Re: [PHP] Problem loading fonts in gd()"
- Reply: Jason Wong: "Re: [PHP] Problem loading fonts in gd()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|