diff --git a/modules/buff.lua b/modules/buff.lua index d009b0b9..872187e2 100644 --- a/modules/buff.lua +++ b/modules/buff.lua @@ -11,14 +11,14 @@ pfUI:RegisterModule("buff", function () -- weapon enchant stacks TempEnchant1.stacks = TempEnchant1:CreateFontString(nil, "OVERLAY", "GameFontNormal") - TempEnchant1.stacks:SetFont(STANDARD_TEXT_FONT, 14, "OUTLINE") + TempEnchant1.stacks:SetFont(pfUI.font_default, 14, "OUTLINE") TempEnchant1.stacks:SetTextColor(1,1,1,1) TempEnchant1.stacks:ClearAllPoints() TempEnchant1.stacks:SetAllPoints(TempEnchant1) TempEnchant1.stacks:SetJustifyH("RIGHT") TempEnchant1.stacks:SetJustifyV("BOTTOM") TempEnchant2.stacks = TempEnchant2:CreateFontString(nil, "OVERLAY", "GameFontNormal") - TempEnchant2.stacks:SetFont(STANDARD_TEXT_FONT, 14, "OUTLINE") + TempEnchant2.stacks:SetFont(pfUI.font_default, 14, "OUTLINE") TempEnchant2.stacks:SetTextColor(1,1,1,1) TempEnchant2.stacks:ClearAllPoints() TempEnchant2.stacks:SetAllPoints(TempEnchant2) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 8aa83f0d..c50f5230 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -75,9 +75,9 @@ pfUI:RegisterModule("nameplates", function () raidicon:SetPoint("CENTER", healthbar, "CENTER", 0, -5) -- adjust font - name:SetFont(STANDARD_TEXT_FONT,12,"OUTLINE") + name:SetFont(pfUI.font_default,12,"OUTLINE") name:SetPoint("BOTTOM", healthbar, "CENTER", 0, 7) - level:SetFont(STANDARD_TEXT_FONT,12, "OUTLINE") + level:SetFont(pfUI.font_default,12, "OUTLINE") level:ClearAllPoints() level:SetPoint("RIGHT", healthbar, "LEFT", -1, 0) levelicon:ClearAllPoints() @@ -143,7 +143,7 @@ pfUI:RegisterModule("nameplates", function () healthbar.castbar.text:SetNonSpaceWrap(false) healthbar.castbar.text:SetFontObject(GameFontWhite) healthbar.castbar.text:SetTextColor(1,1,1,.5) - healthbar.castbar.text:SetFont(STANDARD_TEXT_FONT, 10, "OUTLINE") + healthbar.castbar.text:SetFont(pfUI.font_default, 10, "OUTLINE") end if healthbar.castbar.spell == nil then @@ -152,7 +152,7 @@ pfUI:RegisterModule("nameplates", function () healthbar.castbar.spell:SetNonSpaceWrap(false) healthbar.castbar.spell:SetFontObject(GameFontWhite) healthbar.castbar.spell:SetTextColor(1,1,1,1) - healthbar.castbar.spell:SetFont(STANDARD_TEXT_FONT, 10, "OUTLINE") + healthbar.castbar.spell:SetFont(pfUI.font_default, 10, "OUTLINE") end if healthbar.castbar.icon == nil then @@ -181,7 +181,7 @@ pfUI:RegisterModule("nameplates", function () healthbar.hptext:SetNonSpaceWrap(false) healthbar.hptext:SetFontObject(GameFontWhite) healthbar.hptext:SetTextColor(1,1,1,1) - healthbar.hptext:SetFont(STANDARD_TEXT_FONT, 10) + healthbar.hptext:SetFont(pfUI.font_default, 10) end end diff --git a/modules/thirdparty.lua b/modules/thirdparty.lua index ac3e652f..c40f3bdf 100644 --- a/modules/thirdparty.lua +++ b/modules/thirdparty.lua @@ -115,7 +115,7 @@ pfUI:RegisterModule("thirdparty", function () _G[windowname .. "ScrollingMessageFrame"]:SetPoint("TOPLEFT", _G[windowname], "TOPLEFT", 10, -45) _G[windowname .. "ScrollingMessageFrame"]:SetPoint("BOTTOMRIGHT", _G[windowname], "BOTTOMRIGHT", -32, 32) - _G[windowname .. "ScrollingMessageFrame"]:SetFont(STANDARD_TEXT_FONT, 12) + _G[windowname .. "ScrollingMessageFrame"]:SetFont(pfUI.font_default, 12) CreateBackdrop(_G[windowname .. "MsgBox"]) _G[windowname .. "MsgBox"]:ClearAllPoints()