Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Off Topic Discussions > Webmasters Area

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2009, 09:51 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,863
exdiogene
Default A PHP font question

One quick Question about PHP:

I have a .ttf in my script. It looks like this:

PHP Code:
$font imageloadfont("./fonts/visitor1.ttf"); 
then:

PHP Code:
ImageString ($img_create$font52, ($text), $color); 
How would i change the font size? :D
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #2  
Old 10-11-2009, 12:14 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,641
BMR777 is on a distinguished road
Default RE: A PHP font question

I think either the 5 or the 2 changes it. I know one alters the font size and one alters the line position, so play around with both. :)
Reply With Quote
  #3  
Old 10-11-2009, 03:20 PM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,863
exdiogene
Default RE: A PHP font question

the 5 is the Y position and the 2 is the X position :) already tried that.
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #4  
Old 10-11-2009, 04:47 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 6,469
aroymart
Default RE: A PHP font question

have you tried looking at the actual file? maybe the size is pre-decided
Reply With Quote
  #5  
Old 10-12-2009, 10:29 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,863
exdiogene
Default RE: A PHP font question

no the .ttf can be in lots of different sizes. :)
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #6  
Old 10-17-2009, 08:08 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 6,469
aroymart
Default RE: A PHP font question

oh ok, i've never had any experiance with fonts
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bold/larger font for front page? herbaceous Questions and Supports 0 02-15-2012 03:53 PM
CSS: Using a Non-Standard Font Kaeliah Tutorials and Tips 0 01-31-2011 08:50 PM
Font Question. shadowclash1 Other Chat 0 10-30-2010 04:26 AM
How to change the font of siggy.php ? PokePets Questions and Supports 12 09-22-2010 02:34 AM
I want change font jcga Questions and Supports 4 02-14-2010 08:47 AM


All times are GMT -5. The time now is 04:25 PM.

Currently Active Users: 328 (0 members and 328 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636