Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Increasing font size in LUA -- Title: "Mythic+ ...

[DiscordArchive] Increasing font size in LUA -- Title: "Mythic+ ...

[DiscordArchive] Increasing font size in LUA -- Title: "Mythic+ ...

rektbyfaith
Administrator
0
08-20-2025, 04:54 PM
#1
Archived author: Needle • Posted: 2025-08-20T16:54:45.204000+00:00
Original source

rektbyfaith
08-20-2025, 04:54 PM #1

Archived author: Needle • Posted: 2025-08-20T16:54:45.204000+00:00
Original source

rektbyfaith
Administrator
0
08-20-2025, 04:54 PM
#2
Archived author: Needle • Posted: 2025-08-20T16:54:45.779000+00:00
Original source

Thread automatically created by Shako in <#415944535718494208>
rektbyfaith
08-20-2025, 04:54 PM #2

Archived author: Needle • Posted: 2025-08-20T16:54:45.779000+00:00
Original source

Thread automatically created by Shako in <#415944535718494208>

rektbyfaith
Administrator
0
08-20-2025, 05:22 PM
#3
Archived author: Furioz • Posted: 2025-08-20T17:22:43.061000+00:00
Original source

frames.Main.LevelBox.XPBar.Text = frames.Main.LevelBox.XPBar:CreateFontString(nil, "OVERLAY", "GameFontHighlight")
frames.Main.LevelBox.XPBar.Text:SetFont("Fonts\\FRIZQT__.TTF", 16, "OUTLINE")
frames.Main.LevelBox.XPBar.Text:SetPoint("TOP", frames.Main, 0, -127)
frames.Main.LevelBox.XPBar.Text:SetText("")

this is an example of my code that works.
Maybe one of the other functions you are using there is changing it?
Also try reverting to a normal font like GameFontHighlight or GameFontNormal

I believe GameFontNormalHuge has some additional stuff in there to change the font itself.
rektbyfaith
08-20-2025, 05:22 PM #3

Archived author: Furioz • Posted: 2025-08-20T17:22:43.061000+00:00
Original source

frames.Main.LevelBox.XPBar.Text = frames.Main.LevelBox.XPBar:CreateFontString(nil, "OVERLAY", "GameFontHighlight")
frames.Main.LevelBox.XPBar.Text:SetFont("Fonts\\FRIZQT__.TTF", 16, "OUTLINE")
frames.Main.LevelBox.XPBar.Text:SetPoint("TOP", frames.Main, 0, -127)
frames.Main.LevelBox.XPBar.Text:SetText("")

this is an example of my code that works.
Maybe one of the other functions you are using there is changing it?
Also try reverting to a normal font like GameFontHighlight or GameFontNormal

I believe GameFontNormalHuge has some additional stuff in there to change the font itself.

rektbyfaith
Administrator
0
08-21-2025, 10:25 AM
#4
Archived author: Shako • Posted: 2025-08-21T10:25:54.477000+00:00
Original source

hey, I dont think it works
-- Title: "Mythic+ Rating"
self.label = self.panel:CreateFontString(nil, "OVERLAY", "GameFontHighlight")
self.label:SetPoint("CENTER", 0, 20) -- move to center, 60px above score
self.label:SetText("Mythic+ Rating")
self.label:SetFont("Fonts\\Friends.TTF", 100, "OUTLINE")

I have this and

this is max size it can reach, but I need even bigger, like 3x bigger or 5x
[Image: image.png?ex=690c77b2&is=690b2632&hm=04b...a1119c682&]
rektbyfaith
08-21-2025, 10:25 AM #4

Archived author: Shako • Posted: 2025-08-21T10:25:54.477000+00:00
Original source

hey, I dont think it works
-- Title: "Mythic+ Rating"
self.label = self.panel:CreateFontString(nil, "OVERLAY", "GameFontHighlight")
self.label:SetPoint("CENTER", 0, 20) -- move to center, 60px above score
self.label:SetText("Mythic+ Rating")
self.label:SetFont("Fonts\\Friends.TTF", 100, "OUTLINE")

I have this and

this is max size it can reach, but I need even bigger, like 3x bigger or 5x
[Image: image.png?ex=690c77b2&is=690b2632&hm=04b...a1119c682&]

rektbyfaith
Administrator
0
08-21-2025, 10:26 AM
#5
Archived author: Furioz • Posted: 2025-08-21T10:26:40.927000+00:00
Original source

i'm at my pc now, give me a second xd
rektbyfaith
08-21-2025, 10:26 AM #5

Archived author: Furioz • Posted: 2025-08-21T10:26:40.927000+00:00
Original source

i'm at my pc now, give me a second xd

rektbyfaith
Administrator
0
08-21-2025, 10:27 AM
#6
Archived author: Shako • Posted: 2025-08-21T10:27:44.645000+00:00
Original source

I have found solution by adding images for digits. but its hard work to create images for each digits :d
rektbyfaith
08-21-2025, 10:27 AM #6

Archived author: Shako • Posted: 2025-08-21T10:27:44.645000+00:00
Original source

I have found solution by adding images for digits. but its hard work to create images for each digits :d

rektbyfaith
Administrator
0
08-21-2025, 10:28 AM
#7
Archived author: Shako • Posted: 2025-08-21T10:28:00.482000+00:00
Original source

I just need to increase font size that all :d
rektbyfaith
08-21-2025, 10:28 AM #7

Archived author: Shako • Posted: 2025-08-21T10:28:00.482000+00:00
Original source

I just need to increase font size that all :d

rektbyfaith
Administrator
0
08-21-2025, 10:34 AM
#8
Archived author: Furioz • Posted: 2025-08-21T10:34:32.156000+00:00
Original source

> -- Title: "Mythic+ Rating"
> self.panel.label = self.panel:CreateFontString(nil, "OVERLAY")
> self.panel.label:SetPoint("CENTER", 0, -50) -- move to center, 60px above score
> self.panel.label:SetText("Mythic+ Rating")
> self.panel.label:SetFont("Fonts\\FRIZQT__.TTF", 100, "OUTLINE")

should do the trick, but there is a max I think for SetFont when it comes to the size
rektbyfaith
08-21-2025, 10:34 AM #8

Archived author: Furioz • Posted: 2025-08-21T10:34:32.156000+00:00
Original source

> -- Title: "Mythic+ Rating"
> self.panel.label = self.panel:CreateFontString(nil, "OVERLAY")
> self.panel.label:SetPoint("CENTER", 0, -50) -- move to center, 60px above score
> self.panel.label:SetText("Mythic+ Rating")
> self.panel.label:SetFont("Fonts\\FRIZQT__.TTF", 100, "OUTLINE")

should do the trick, but there is a max I think for SetFont when it comes to the size

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)