Thread Tools Display Modes
10-21-20, 07:03 AM   #1
djozaa
A Defias Bandit
Join Date: Sep 2016
Posts: 2
help me Increase status text size

hello, can someone help me to increase status text size of defualt blizzard frames on retail.

In classic wow status text font size seems to be 14, and on retail is 10.

This is with enabled status text Both.
Attached Thumbnails
Click image for larger version

Name:	sizes.png
Views:	487
Size:	142.2 KB
ID:	9507  
  Reply With Quote
10-22-20, 12:59 PM   #2
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
Code:
local fontStrings = {
	'PlayerFrameHealthBarTextLeft',
	'PlayerFrameHealthBarTextRight',
	'PlayerFrameManaBarTextLeft',
	'PlayerFrameManaBarTextRight',
	'TargetFrameTextureFrameHealthBarTextLeft',
	'TargetFrameTextureFrameHealthBarTextRight',
	'TargetFrameTextureFrameManaBarTextLeft',
	'TargetFrameTextureFrameManaBarTextRight'
}

for index = 1, #fontStrings do
	local fontString = _G[fontStrings[index]]
	if fontString then
		local fontName, fontSize, fontStyle = fontString:GetFont()
		fontString:SetFont(fontName, 14, fontStyle)
	end
end
  Reply With Quote
10-22-20, 03:56 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,308
You can change the base font object and it'll propagate through all fontstrings that inherit from it.
Lua Code:
  1. local name,_,style=TextStatusBarText:GetFont();
  2. TextStatusBarText:SetFont(name,14,style);
Note: Font objects seem to ignore the virtual XML tag and actually exist in the global environment.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-22-20, 06:45 PM   #4
djozaa
A Defias Bandit
Join Date: Sep 2016
Posts: 2
thank you alot, both of you!!!
  Reply With Quote
01-23-23, 05:31 AM   #5
stressful
A Defias Bandit
Join Date: Jan 2023
Posts: 3
Originally Posted by djozaa View Post
thank you alot, both of you!!!
hi where do i paste these to fix it??
  Reply With Quote
01-23-23, 05:32 AM   #6
stressful
A Defias Bandit
Join Date: Jan 2023
Posts: 3
Originally Posted by SDPhantom View Post
You can change the base font object and it'll propagate through all fontstrings that inherit from it.
Lua Code:
  1. local name,_,style=TextStatusBarText:GetFont();
  2. TextStatusBarText:SetFont(name,14,style);
Note: Font objects seem to ignore the virtual XML tag and actually exist in the global environment.
where do i paste this?
  Reply With Quote
01-23-23, 05:35 AM   #7
stressful
A Defias Bandit
Join Date: Jan 2023
Posts: 3
Originally Posted by Vrul View Post
Code:
local fontStrings = {
	'PlayerFrameHealthBarTextLeft',
	'PlayerFrameHealthBarTextRight',
	'PlayerFrameManaBarTextLeft',
	'PlayerFrameManaBarTextRight',
	'TargetFrameTextureFrameHealthBarTextLeft',
	'TargetFrameTextureFrameHealthBarTextRight',
	'TargetFrameTextureFrameManaBarTextLeft',
	'TargetFrameTextureFrameManaBarTextRight'
}

for index = 1, #fontStrings do
	local fontString = _G[fontStrings[index]]
	if fontString then
		local fontName, fontSize, fontStyle = fontString:GetFont()
		fontString:SetFont(fontName, 14, fontStyle)
	end
end
where do i paste this? i have no idea
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » help me Increase status text size

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off