Thanks for the quick response,
I've tested it and it is possible to use a transparent font to remove the HK text, but like you say it will remove all text that uses the font. (damage, miss, parry, xp, etc).
However I'm running into trouble actually changing the font on my own. Currently I've only managed to change the font using addons gdfont or xdamagefont. They both use the following 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()
|
It seems to me that the only thing going on here is that the global variable DAMAGE_TEXT_FONT is being changed to a custom file path. But there is definitely something else happening because simply changing the global doesn't do anything.
I tried to rewrite a function that would change the global variable and executed it OnLoad or using the event ADDON_LOADED without any success (outside of changing the string associated with the global)
Moreover the when I removed that last line of code "gdFont:ApplySystemFonts()" (which looked redundant) the addon ceased to work.
Anybody know why this is the case?