Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

TrueType / OpenType Fonts

images php coding issues or problems here.

Moderators: macek, egami, gesf

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?
Xerpher
New php-forum User
New php-forum User
 
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada

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.
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

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.
Xerpher
New php-forum User
New php-forum User
 
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada

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

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

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

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

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

Not worked! :^(
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.