View Single Post
11-09-14, 06:30 PM   #2
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
If you look through FrameXML/ActionButtonTemplate.xml; you'll see
Hotkey text uses : NumberFontNormalSmallGray
Count text uses : NumberFontNormal
Macro name text uses: GameFontHighlightSmallOutline

If you then search the FrameXML/FontStyles.xml file, you'll find which fonts are inherited into those.

Hotkey -> NumberFontNormalSmallGray -> GameFontNormalSmall -> SystemFont_Shadow_Small ->Fonts\FRIZQT__.TTF
Count -> NumberFontNormal -> NumberFont_Outline_Med -> Fonts\ARIALN.TTF
Macro -> GameFontHighlightSmallOutline -> GameFontHighlightSmall -> GameFontNormalSmall -> SystemFont_Shadow_Small -> Fonts\FRIZQT__.TTF

Just wanted to comment on the long tracking list; this is insane, inherited on inherited and so on.

So what you do is:
Create an add-on with just a frame created that does this:
Lua Code:
  1. local frame = CreateFrame("Frame")
  2. frame:SetScript("OnEvent", function()
  3. SystemFont_Shadow_Small:SetFont("Fonts\\CharriotDeluxe.ttf", 8, "OUTLINE, MONOCHROME")
  4. NumberFont_Outline_Med:SetFont("Fonts\\CharriotDeluxe.ttf", 8, "OUTLINE, MONOCHROME")
  5. end)
  6.  
  7. frame:RegisterEvent("PLAYER_LOGIN")

This could help you.
http://addon.bool.no

Ps. Just quick half-asleep post, not even tested.
__________________
  Reply With Quote