PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
WaldoMonster
Forum Contributor
Posts: 225 Joined: Mon Apr 19, 2004 6:19 pm
Contact:
Post
by WaldoMonster » Thu Jun 21, 2007 5:08 pm
When I add a ttf font to a website will imagettftext also work on systems that normally don't support ttf fonts?
In other words when compiling php with gd, is the imagettftext function on all operating systems available?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Jun 21, 2007 5:51 pm
Try it.
WaldoMonster
Forum Contributor
Posts: 225 Joined: Mon Apr 19, 2004 6:19 pm
Contact:
Post
by WaldoMonster » Thu Jun 21, 2007 5:59 pm
I have only operating systems that natively support ttf.
I hope that someone with a *nix operating system can try it out or know if it works?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Jun 21, 2007 6:02 pm
TrueType fonts aren't simply native files to Windows or Mac.
WaldoMonster
Forum Contributor
Posts: 225 Joined: Mon Apr 19, 2004 6:19 pm
Contact:
Post
by WaldoMonster » Thu Jun 21, 2007 6:05 pm
Do you mean it only depends on the programs that support them?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Jun 21, 2007 6:12 pm
Yes.
WaldoMonster
Forum Contributor
Posts: 225 Joined: Mon Apr 19, 2004 6:19 pm
Contact:
Post
by WaldoMonster » Thu Jun 21, 2007 6:26 pm
Thanks for the fast help.