Thread Tools Display Modes
02-01-09, 09:03 AM   #1
Zelik
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Feb 2009
Posts: 7
Maximum FontHeight Value?

Hello,

I am trying to display a (physically) large number in a 50px by 50px frame. I would like the number to fill up most of the frame.

I am using the following XML:

<FontHeight>
<AbsValue val="x"/>
</FontHeight>

This works, but it appears that the font height is being restricted. It won't get as large as it should be able to. Does anyone know what I could do?
  Reply With Quote
02-01-09, 10:08 AM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
I think fonts are limited to 32.
I might be one or 2 sizes off (like 30 or 34) but it's an early 30 number for sure.
  Reply With Quote
02-01-09, 04:05 PM   #3
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
I don't know if this is what you are looking for, but I used :SetFont to make my fontstrings larger or smaller.
Code:
FontString:SetFont("Fonts\\FRIZQT__.TTF", 11)
FontInstance:SetFont("font",size[,"flags"])
__________________
Never be satisfied with satisfactory.
  Reply With Quote
02-01-09, 06:55 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Yes, but 32 is as large as you can go.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Maximum FontHeight Value?


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