View Single Post
08-09-07, 01:16 AM   #1
WaldoJeffers
A Molten Giant
 
WaldoJeffers's Avatar
Join Date: Jan 2007
Posts: 564
Code to change font size for damage text

Hey, this is the code for a mod called Good Damage Font which "changes the normal WoW damage font to the cool kind you see in a lot of WoW pvp videos" Can i please get some help with manipulating the size of this font please? The font in game is a little to small

Code:
gdFont = CreateFrame("Frame", "gdFont");

local GD_FONT_NUMBER = "Interface\\AddOns\\gdFont\\Fonts\\Skurri.ttf";

function gdFont:ApplySystemFonts()

DAMAGE_TEXT_FONT = GD_FONT_NUMBER;


end

gdFont:SetScript("OnEvent",
		    function() 
		       if (event == "ADDON_LOADED") then
			  gdFont:ApplySystemFonts()
		       end
		    end);
gdFont:RegisterEvent("ADDON_LOADED");

gdFont:ApplySystemFonts()
Thanks for anything I can get
  Reply With Quote