core: use new media mechanism for all fonts

This commit is contained in:
shagu
2019-06-10 13:35:48 +02:00
parent 7632f92dd1
commit d075751632
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ pfUI:RegisterModule("easteregg", 20400, function ()
fireworks.stext:SetText("|cff33ffccShagu|cffffffff wishes you a")
fireworks.text = fireworks:CreateFontString("Status", "LOW", "GameFontWhite")
fireworks.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\BigNoodleTitling.ttf", 38)
fireworks.text:SetFont(pfUI.media["font:BigNoodleTitling.ttf"], 38)
fireworks.text:SetPoint("TOP", 0, -400)
fireworks.text:SetText("happy new year!")