Skip to content

Instantly share code, notes, and snippets.

@zozovo
Last active January 6, 2019 17:43
Show Gist options
  • Save zozovo/a0f3973de8454e4862dee6601a2bcb55 to your computer and use it in GitHub Desktop.
Save zozovo/a0f3973de8454e4862dee6601a2bcb55 to your computer and use it in GitHub Desktop.
修改魔兽世界部分 UI 字体大小
-- Quest Frame
QuestTitleFont:SetFont("Fonts\\ARKai_T.ttf", 20);
QuestTitleFontBlackShadow:SetFont("Fonts\\ARKai_T.ttf", 20);
QuestFont:SetFont("Fonts\\ARKai_T.ttf", 17);
QuestFontNormalSmall:SetFont("Fonts\\ARKai_T.ttf", 16);
QuestFontHighlight:SetFont("Fonts\\ARKai_T.ttf", 16);
-- Player Frame
PlayerName:SetFont(ImpFont, 11, flags);
PlayerLevelText:SetFont(ImpFont, 11, flags);
PlayerFrameHealthBarText:SetFont(ImpFont, 10, flags);
PlayerFrameHealthBarTextLeft:SetFont(ImpFont, 10, flags);
PlayerFrameHealthBarTextRight:SetFont(ImpFont, 10, flags);
PlayerFrameManaBarText:SetFont(ImpFont, 10, flags);
PlayerFrameManaBarTextLeft:SetFont(ImpFont, 10, flags);
PlayerFrameManaBarTextRight:SetFont(ImpFont, 10, flags);
PlayerFrameAlternateManaBarText:SetFont(ImpFont, 10, flags);
PlayerFrameAlternateManaBar.RightText:SetFont(ImpFont, 10, flags);
PlayerFrameAlternateManaBar.LeftText:SetFont(ImpFont, 10, flags);
-- Pet Frame
PetName:SetFont(ImpFont, 11, flags);
PetFrameHealthBarText:SetFont(ImpFont, 9, flags);
PetFrameHealthBarTextLeft:SetFont(ImpFont, 9, flags);
PetFrameHealthBarTextRight:SetFont(ImpFont, 9, flags);
PetFrameManaBarText:SetFont(ImpFont, 9, flags);
PetFrameManaBarTextLeft:SetFont(ImpFont, 9, flags);
PetFrameManaBarTextRight:SetFont(ImpFont, 9, flags);
-- Target Frame
TargetFrameTextureFrameName:SetFont(ImpFont, 11, flags);
TargetFrameTextureFrameLevelText:SetFont(ImpFont, 11, flags);
TargetFrameTextureFrameDeadText:SetFont(ImpFont, 10, flags);
TargetFrameTextureFrameHealthBarText:SetFont(ImpFont, 9, flags);
TargetFrameTextureFrameHealthBarTextLeft:SetFont(ImpFont, 10, flags);
TargetFrameTextureFrameHealthBarTextRight:SetFont(ImpFont, 10, flags);
TargetFrameTextureFrameManaBarText:SetFont(ImpFont, 9, flags);
TargetFrameTextureFrameManaBarTextLeft:SetFont(ImpFont, 10, flags);
TargetFrameTextureFrameManaBarTextRight:SetFont(ImpFont, 10, flags);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment