TrueType / OpenType Fonts

images php coding issues or problems here.

Moderators: macek, egami, gesf

Xerpher
New php-forum User
New php-forum User
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada
Contact:

TrueType / OpenType Fonts

Postby Xerpher » Fri Mar 07, 2003 5:37 pm

Ok, I'm running Apache 2, PHP 4.3.1 with GD 2 (freetype support), and MySQL 3.23.

I've being making dynamic images with fonts and I've noticed that when I use a TrueType Font from free font sites all I see are cubes, but when I use OpenType Fonts like Arial it works great. So my question would be: Is this a code problem? if not, could somebody direct me to a TrueType to OpenType Font converter?

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Mon Mar 10, 2003 2:17 am

i did nt find any error in work gd2.
I have use some truetype fonts and thay works perfectly.

Xerpher
New php-forum User
New php-forum User
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada
Contact:

Postby Xerpher » Mon Mar 10, 2003 11:00 am

Hmm, well these are my results...
OpenType Font: http://xerpher.myftp.org/samples/image.php
TrueType Font: http://xerpher.myftp.org/samples/image2.php

By the way, if the font says "TrueType Font file" in Windows or has the extension .ttf that does NOT mean its a TrueType font.

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Mon Mar 10, 2003 10:44 pm

ooops!

Xerpher
New php-forum User
New php-forum User
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada
Contact:

Postby Xerpher » Tue Mar 11, 2003 11:44 am

:( Heeeeeeeeeeeeeeeeeeeeeeeelp!

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Postby WiZARD » Wed Mar 12, 2003 2:07 am

Not worked! :^(


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest