[DiscordArchive] Increasing font size in LUA
[DiscordArchive] Increasing font size in LUA
Archived author: Shako • Posted: 2025-08-20T16:54:44.942000+00:00
Original source
Increasing font size in LUA
-- Title: "Mythic+ Rating"
self.label = self.panel:CreateFontString(nil, "OVERLAY", "GameFontNormalHuge")
self.label:SetPoint("TOP", 0, -40)
self.label:SetText("Mythic+ Rating")
self.label:SetFont("Fonts\\FRIZQT__.TTF", 28, "OUTLINE")
-- Big Score text
self.scoreText = self.panel:CreateFontString(nil, "OVERLAY", "GameFontNormalHuge")
self.scoreText:SetPoint("TOP", self.label, "BOTTOM", 0, -24)
self.scoreText:SetFont("Fonts\\ARIALN.TTF", 72, "OUTLINE")
self.scoreText:SetTextColor(1, 0.5, 0) -- carrot orange
self.scoreText:SetShadowColor(0, 0, 0, 1)
self.scoreText:SetShadowOffset(2, -2)
I have this kind of code but cant increase font ( text size) any idea how to do it?