EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Chit-Chat

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #18  
Unread 08-11-2005, 01:04 PM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default

Quote:
Originally Posted by yoda
instead of imagestring use imagettftext

example:
Code:
imagettftext($image_out, 9, 0, 10, 36, $color, $font, $player['adventurer']);
you also need to upload the font file *.ttf and provide the path

example:
Code:
$font = 'font/arial.ttf';
I've tried this fix, but it actually breaks my script! I get no text at all on the background image.

Does the imagettftext string parameters need to be defined in exactly the order you described, and/or does the $font definition need to be in a particular place?

I'm no newbie to coding, although PHP is new to me as of a few months back. I'm an expert tweaker, so this breakage is dumbfounding me...everything looks right. I uploaded my fonts and everything.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:56 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI