Quantcast
SetFont size help please - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-09-14, 03:45 AM   #1
glupikreten
A Fallenroot Satyr
Join Date: Apr 2009
Posts: 26
SetFont size help please

Hi,

I have
customFrame.text = customFrame:CreateFontString(nil, "BACKGROUND", "PVPInfoTextFont");
customFrame.text:SetFont("Fonts\\DAMAGE.ttf",22,"OUTLINE");

Why is 22 font size the biggest i can go in this case? If i put into 48 size remains 22... if i put 20 it scales down a bit as expected.

As you can see i'm not good at lua at all... so if anyone have any advice how to make font bigger ...


************************************
Whole frame
************************************
customFrame=CreateFrame("Frame");
customFrame:ClearAllPoints();
customFrame:SetHeight(30);
customFrame:SetWidth(300);
customFrame:SetScript("OnUpdate", customFrame_OnUpdate);
customFrame:Hide();
customFrame.text = customFrame:CreateFontString(nil, "BACKGROUND", "PVPInfoTextFont");
customFrame.text:SetFont("Fonts\\DAMAGE.ttf",22,"OUTLINE");
customFrame.text:SetAllPoints();
customFrame:SetPoint("CENTER", 0, 250);
customFrameTime = 0;
customFrame:EnableMouse(false)
customFrame:SetMovable(false)
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » SetFont size help please

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

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