View Single Post
10-28-16, 03:46 AM   #7
Miiru
A Flamescale Wyrmkin
 
Miiru's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 138
Originally Posted by videnfost View Post
Is there any way to change the y-axis value of the shadow for the entire interface?
You could try this (not tested)

Lua Code:
  1. local f = CreateFrame("Frame")
  2.         f:RegisterEvent("PLAYER_LOGIN")
  3.         f:SetScript("OnEvent", function()
  4.            
  5.         local function SetFont(obj)
  6.             local fontName, fontHeight = obj:GetFont() 
  7.             obj:SetFont(fontName,fontHeight)
  8.             obj:SetShadowOffset(1,-3)
  9.         end
  10.        
  11.             SetFont(ChatFontNormal)
  12.             SetFont(NumberFont_Shadow_Med)
  13.             SetFont(AchievementFont_Small)
  14.             SetFont(NumberFont_OutlineThick_Mono_Small)
  15.             SetFont(NumberFont_Outline_Huge)
  16.             SetFont(NumberFont_Outline_Large)
  17.             SetFont(NumberFont_Outline_Med)
  18.             SetFont(NumberFont_Shadow_Small)
  19.             SetFont(SystemFont_InverseShadow_Small)
  20.             SetFont(SystemFont_Large)
  21.             SetFont(SystemFont_Med1)
  22.             SetFont(SystemFont_Med2)
  23.             SetFont(SystemFont_Med3)
  24.             SetFont(SystemFont_OutlineThick_Huge2)
  25.             SetFont(SystemFont_OutlineThick_Huge4)
  26.             SetFont(SystemFont_OutlineThick_WTF)
  27.             SetFont(SystemFont_Outline_Small)
  28.             SetFont(SystemFont_Shadow_Huge1)
  29.             SetFont(SystemFont_Shadow_Huge3)
  30.             SetFont(SystemFont_Shadow_Large)
  31.             SetFont(SystemFont_Shadow_Med1)
  32.             SetFont(SystemFont_Shadow_Med3)
  33.             SetFont(SystemFont_Shadow_Outline_Huge2)
  34.             SetFont(SystemFont_Shadow_Small)
  35.             SetFont(SystemFont_Small)
  36.             SetFont(SystemFont_Tiny)
  37.             SetFont(ReputationDetailFont)
  38.             SetFont(ItemTextFontNormal)
  39.             SetFont(DialogButtonNormalText)
  40.             SetFont(InvoiceTextFontNormal)
  41.             SetFont(InvoiceTextFontSmall)
  42.             SetFont(MailTextFontNormal)
  43.             SetFont(GameFontHighlightSmall)
  44.             SetFont(GameFontNormalSmall)
  45.             SetFont(GameFontNormalSmall2)
  46.             SetFont(GameFontDisableSmall)
  47.             SetFont(GameFontNormalHuge)
  48.             SetFont(GameFontNormalLarge)
  49.             SetFont(GameFontHighlight)
  50.             SetFont(GameFontDisable)
  51.             SetFont(GameFontNormal)
  52.             SetFont(GameFontBlackMedium)
  53.             SetFont(GameFontHighlightMedium)
  54.             SetFont(SubSpellFont)
  55.             SetFont(NumberFontNormalSmall)
  56.             SetFont(NumberFontNormal)
  57.             SetFont(NumberFontNormalLarge)
  58.             SetFont(NumberFontNormalHuge)
  59.             SetFont(WorldMapTextFont)
  60.             SetFont(MovieSubtitleFont)
  61.             SetFont(AchievementPointsFont)
  62.             SetFont(AchievementPointsFontSmall)
  63.             SetFont(AchievementDateFont)
  64.             SetFont(AchievementCriteriaFont)
  65.             SetFont(AchievementDescriptionFont)
  66.             SetFont(FriendsFont_Large)
  67.             SetFont(FriendsFont_Normal)
  68.             SetFont(FriendsFont_Small)
  69.             SetFont(FriendsFont_UserText)
  70.             SetFont(GameTooltipHeaderText)
  71.             SetFont(GameTooltipText)
  72.             SetFont(GameTooltipTextSmall)
  73.             SetFont(ZoneTextString)
  74.             SetFont(SubZoneTextString)
  75.             SetFont(PVPInfoTextString)
  76.             SetFont(PVPArenaTextString)
  77.             SetFont(CombatTextFont)
  78.             SetFont(BackpackTokenFrameToken1Count)
  79.             SetFont(BackpackTokenFrameToken2Count)
  80.             SetFont(BackpackTokenFrameToken3Count)
  81.             SetFont(QuestFontHighlight)
  82.             SetFont(QuestFontNormalSmall)
  83.             SetFont(QuestTitleFont)
  84.             SetFont(QuestFont)
  85.             SetFont(QuestFont_Large)
  86.             SetFont(QuestTitleFontBlackShadow)
  87.             SetFont(QuestFont_Super_Huge)
  88.             SetFont(HelpFrameKnowledgebaseNavBarHomeButtonText)
  89.             SetFont(GameFont_Gigantic)
  90.             SetFont(CoreAbilityFont)
  91.             SetFont(DestinyFontHuge)
  92.             SetFont(DestinyFontLarge)
  93.             SetFont(InvoiceFont_Small)
  94.             SetFont(InvoiceFont_Med)
  95.             SetFont(MailFont_Large)
  96.             SetFont(QuestFont_Shadow_Small)
  97.             SetFont(QuestFont_Shadow_Huge)
  98.             SetFont(QuestFont_Huge)
  99.             SetFont(QuestFont_Enormous)
  100.             SetFont(SpellFont_Small)
  101.             SetFont(SystemFont_Huge1)
  102.             SetFont(SystemFont_OutlineThick_WTF)
  103.             SetFont(SystemFont_OutlineThick_Huge2)
  104.             SetFont(SystemFont_OutlineThick_Huge4)
  105.             SetFont(SystemFont_Outline)
  106.             SetFont(SystemFont_Shadow_Large_Outline)
  107.             SetFont(SystemFont_Shadow_Large2)
  108.             SetFont(SystemFont_Shadow_Med2)
  109.             SetFont(SystemFont_Shadow_Huge2)
  110.             SetFont(SystemFont_Small2)
  111.             SetFont(Tooltip_Med)
  112.             SetFont(Tooltip_Small)
  113.             -----
  114.             SetFont(GameFontNormalMed3)
  115.             SetFont(GameFontNormalHuge2)
  116.             SetFont(GameFontNormalLarge2)
  117.             SetFont(Game30Font)
  118.             SetFont(Game24Font)
  119.             SetFont(Game20Font)
  120.             SetFont(Game18Font)
  121.             SetFont(Fancy24Font) -- e.g. Weekly best @ ChallengesFrame
  122.             SetFont(Fancy16Font)           
  123.             SetFont(Fancy48Font)
  124.             SetFont(Fancy22Font) -- e.g. TalkingHeadFrame TitleFont
  125.             SetFont(Fancy32Font)
  126.             SetFont(SystemFont_LargeNamePlate)
  127.             SetFont(SystemFont_NamePlate)
  128.             SetFont(SystemFont_LargeNamePlateFixed)
  129.             SetFont(SystemFont_NamePlateFixed)
  130.             SetFont(WhiteNormalNumberFont) -- font shown at tradeskill skillbars
  131.             SetFont(PVPInfoTextFont)
  132.             SetFont(ChatFrame1EditBox)              -- chateditbox input text
  133.             SetFont(ChatFrame1EditBoxHeader)    -- chateditbox say/whisper/guild text
  134.             SetFont(GameTooltipHeader)          -- dungeon journal suggestion font
  135.             for i=1, NUM_CHAT_WINDOWS do   
  136.                     SetFont(_G["ChatFrame"..i])     --chat itself
  137.             end
  138.            
  139.         end)

You can make an addon out of the code with http://addon.bool.no/. There may be some fonts missing though
__________________
◘◘ Author of MiirGui Texture Pack - [Core] [Blue] [Grey] ◘◘