Originally Posted by SDPhantom
Alternatively, you can try your luck with CreateFont() and inheriting it in your XML.
Lua Code:
local NorFont=CreateFont("EKPlates_NorFont");-- This is the global name we'll use when inheriting this font NorFont:CopyFontObject("GameFontHightlightSmall");-- Initiate to an ingame font NorFont:SetFont("Interface\\AddOns\\EKPlates\\media\\font.ttf",12,"OUTLINE");-- Set our custom font
XML Code:
<FontString parentKey="value" inherits="EKPlates_NorFont" justifyH="CENTER">
|
It's useful, Thank you very much!