View Single Post
07-13-10, 03:10 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,937
Okay, this line is possibly causing the problem. There is possibly something missing here but I can't remember exactly what else you need at the moment.

TextFrameFont:SetFont("Fonts\\FRIZQT__.TTF", 11)


Try changing these specific lines ( keep the other ones in for now ).

-- Create a Font String based on GameFontNormal
local TextFrameFont = TextFrame:CreateFontString(nil, "BACKGROUND",GameFontNormal)

--Now this is where we see what the rest of the font is holding and store it
local Path, Size, Flags = TextFrameFont :GetFont()

-- Your code to set the text contents
TextFrameFont:SetText(Text)

-- Now we want to set the font with our chosen settings but keep what it is already using
TextFrameFont:SetFont("Fonts\\FRIZQT__.TTF", 11,Flags)


Try that out and see if that works.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote