local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_LOGIN")
f:SetScript("OnEvent", function()
local function SetFont(obj)
local fontName, fontHeight = obj:GetFont()
obj:SetFont(fontName,fontHeight)
obj:SetShadowOffset(1,-3)
end
SetFont(ChatFontNormal)
SetFont(NumberFont_Shadow_Med)
SetFont(AchievementFont_Small)
SetFont(NumberFont_OutlineThick_Mono_Small)
SetFont(NumberFont_Outline_Huge)
SetFont(NumberFont_Outline_Large)
SetFont(NumberFont_Outline_Med)
SetFont(NumberFont_Shadow_Small)
SetFont(SystemFont_InverseShadow_Small)
SetFont(SystemFont_Large)
SetFont(SystemFont_Med1)
SetFont(SystemFont_Med2)
SetFont(SystemFont_Med3)
SetFont(SystemFont_OutlineThick_Huge2)
SetFont(SystemFont_OutlineThick_Huge4)
SetFont(SystemFont_OutlineThick_WTF)
SetFont(SystemFont_Outline_Small)
SetFont(SystemFont_Shadow_Huge1)
SetFont(SystemFont_Shadow_Huge3)
SetFont(SystemFont_Shadow_Large)
SetFont(SystemFont_Shadow_Med1)
SetFont(SystemFont_Shadow_Med3)
SetFont(SystemFont_Shadow_Outline_Huge2)
SetFont(SystemFont_Shadow_Small)
SetFont(SystemFont_Small)
SetFont(SystemFont_Tiny)
SetFont(ReputationDetailFont)
SetFont(ItemTextFontNormal)
SetFont(DialogButtonNormalText)
SetFont(InvoiceTextFontNormal)
SetFont(InvoiceTextFontSmall)
SetFont(MailTextFontNormal)
SetFont(GameFontHighlightSmall)
SetFont(GameFontNormalSmall)
SetFont(GameFontNormalSmall2)
SetFont(GameFontDisableSmall)
SetFont(GameFontNormalHuge)
SetFont(GameFontNormalLarge)
SetFont(GameFontHighlight)
SetFont(GameFontDisable)
SetFont(GameFontNormal)
SetFont(GameFontBlackMedium)
SetFont(GameFontHighlightMedium)
SetFont(SubSpellFont)
SetFont(NumberFontNormalSmall)
SetFont(NumberFontNormal)
SetFont(NumberFontNormalLarge)
SetFont(NumberFontNormalHuge)
SetFont(WorldMapTextFont)
SetFont(MovieSubtitleFont)
SetFont(AchievementPointsFont)
SetFont(AchievementPointsFontSmall)
SetFont(AchievementDateFont)
SetFont(AchievementCriteriaFont)
SetFont(AchievementDescriptionFont)
SetFont(FriendsFont_Large)
SetFont(FriendsFont_Normal)
SetFont(FriendsFont_Small)
SetFont(FriendsFont_UserText)
SetFont(GameTooltipHeaderText)
SetFont(GameTooltipText)
SetFont(GameTooltipTextSmall)
SetFont(ZoneTextString)
SetFont(SubZoneTextString)
SetFont(PVPInfoTextString)
SetFont(PVPArenaTextString)
SetFont(CombatTextFont)
SetFont(BackpackTokenFrameToken1Count)
SetFont(BackpackTokenFrameToken2Count)
SetFont(BackpackTokenFrameToken3Count)
SetFont(QuestFontHighlight)
SetFont(QuestFontNormalSmall)
SetFont(QuestTitleFont)
SetFont(QuestFont)
SetFont(QuestFont_Large)
SetFont(QuestTitleFontBlackShadow)
SetFont(QuestFont_Super_Huge)
SetFont(HelpFrameKnowledgebaseNavBarHomeButtonText)
SetFont(GameFont_Gigantic)
SetFont(CoreAbilityFont)
SetFont(DestinyFontHuge)
SetFont(DestinyFontLarge)
SetFont(InvoiceFont_Small)
SetFont(InvoiceFont_Med)
SetFont(MailFont_Large)
SetFont(QuestFont_Shadow_Small)
SetFont(QuestFont_Shadow_Huge)
SetFont(QuestFont_Huge)
SetFont(QuestFont_Enormous)
SetFont(SpellFont_Small)
SetFont(SystemFont_Huge1)
SetFont(SystemFont_OutlineThick_WTF)
SetFont(SystemFont_OutlineThick_Huge2)
SetFont(SystemFont_OutlineThick_Huge4)
SetFont(SystemFont_Outline)
SetFont(SystemFont_Shadow_Large_Outline)
SetFont(SystemFont_Shadow_Large2)
SetFont(SystemFont_Shadow_Med2)
SetFont(SystemFont_Shadow_Huge2)
SetFont(SystemFont_Small2)
SetFont(Tooltip_Med)
SetFont(Tooltip_Small)
-----
SetFont(GameFontNormalMed3)
SetFont(GameFontNormalHuge2)
SetFont(GameFontNormalLarge2)
SetFont(Game30Font)
SetFont(Game24Font)
SetFont(Game20Font)
SetFont(Game18Font)
SetFont(Fancy24Font) -- e.g. Weekly best @ ChallengesFrame
SetFont(Fancy16Font)
SetFont(Fancy48Font)
SetFont(Fancy22Font) -- e.g. TalkingHeadFrame TitleFont
SetFont(Fancy32Font)
SetFont(SystemFont_LargeNamePlate)
SetFont(SystemFont_NamePlate)
SetFont(SystemFont_LargeNamePlateFixed)
SetFont(SystemFont_NamePlateFixed)
SetFont(WhiteNormalNumberFont) -- font shown at tradeskill skillbars
SetFont(PVPInfoTextFont)
SetFont(ChatFrame1EditBox) -- chateditbox input text
SetFont(ChatFrame1EditBoxHeader) -- chateditbox say/whisper/guild text
SetFont(GameTooltipHeader) -- dungeon journal suggestion font
for i=1, NUM_CHAT_WINDOWS do
SetFont(_G["ChatFrame"..i]) --chat itself
end
end)