Download
(34 Kb)
Download
Updated: 07-12-10 03:48 PM
Pictures
File Info
Updated:07-12-10 03:48 PM
Created:03-13-10 11:04 AM
Downloads:6,757
Favorites:28
MD5:
gFont  Popular! (More than 5000 hits)
Version: 1.2
by: Goldpaw [More]
This addon requires gMedia in order to work.

Additional font plugins are available:

/gfont (from v1.1)
- Opens the main options menu

What is this?
This is a simple font changer. It features a replacement of (almost) all in-game fonts, as well as the option to active/deactivate them based on group. (from v1.1)
1.2
- Now supports Simplified- and Traditional Chinese, as well as Russian fonts, depending on gMedia plugins

1.132
- Fixed a spelling error that prevented the use of the /gfont command

1.131
- gLib 2.41

1.13
- Updated to work with gLib 2.4

1.123
- Settings now properly saves between sessions

1.122
- Further modified the kerning on the bugged "EURO"-style font

1.121
- gMedia: Fixed a bug with the kerning on commas followed by space on the "EURO"-style font.

1.12
- Changed the unitname font
- Changed the ZoneText and WorldMap fonts

1.111
- gLib updated. Issues with configuration menus resolved

1.1
- Now includes an Interface Options Menu where you can activate/deactivate fonts
- gLib added to handle the Interface Options Menu

1.04
- Unregisters events and functions when no longer needed

1.03
- Clearified the description in the .toc a bit

1.02
- Changed the hotkeyfont

1.0
- Release version
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Author
Date
1.132
27kB
Goldpaw
07-10-10 03:07 PM
1.131
27kB
Goldpaw
06-09-10 05:11 PM
1.13
27kB
Goldpaw
06-09-10 03:42 PM
1.123 w/ gLib
586kB
Goldpaw
04-16-10 05:41 AM
1.123
582kB
Goldpaw
04-14-10 05:19 PM
1.122
586kB
Goldpaw
04-14-10 07:00 AM
1.111
341kB
Goldpaw
03-20-10 03:33 PM
1.1
355kB
Goldpaw
03-18-10 10:01 AM
1.03
328kB
Goldpaw
03-14-10 05:36 AM
1.02
327kB
Goldpaw
03-13-10 11:04 AM


Post A Reply Comment Options
Unread 03-17-11, 04:11 AM  
Slackerr
A Murloc Raider
 
Slackerr's Avatar

Forum posts: 7
File comments: 1
Uploads: 0
How to change combat text size?

Just downloaded addon and im tryin' to change font size of combat text.

I tried to change these values from gFont LUA file, but it changes nothing.

-- modify some constants to make the text look smoother
COMBAT_TEXT_HEIGHT = 60;
COMBAT_TEXT_CRIT_MAXHEIGHT = 60;
COMBAT_TEXT_CRIT_MINHEIGHT = 30;

So is there some other file or line where to adjust font size?

Thanks.
Slackerr is offline Report comment to moderator  
Reply With Quote
Unread 09-30-10, 06:54 AM  
Mjolkspam
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
I've got a slight problem with the settings on gFont.
When i uncheck the option about numbers replacment, it wont
get unchecked. As fast as i do /rl or loggout and back in again, it's there again.
So i don't know what i'm suppose to do ^^ :P

// Mjölkspam
Mjolkspam is offline Report comment to moderator  
Reply With Quote
Unread 07-29-10, 02:32 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Re: Re: Re: Am i wrong?

Originally posted by Mileadus
Thanks for getting back with me on that issue.

My next question is:

Even when it's straight out of the zip file, its not changing any font anywhere the gmedia/glib addons are properly installed and loaded, no errors ('cept for oUF movable frames, which is what i used to move the gframes around; but even when it does throwup an error, i just /rl and it fixes it).

I don't think theres another addon thats conflicting with it (Fontain is close but like i said in previous post, it doesn't change combat text).

why isn't it changing it? I know that it has to work cuz you took a few screen shots of it working.

I like gframes for the most part, and cuts my load time in like 1/2 omg thank you for that! lol
It depends on what fonts you expect it to change. It changes default blizzard fonts. It doesn't touch fonts specifically named by other addons, like gFrames. Which, btw, uses the same fonts as gFonts.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 07-28-10, 01:07 PM  
Mileadus
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Am i wrong?

Thanks for getting back with me on that issue.

My next question is:

Even when it's straight out of the zip file, its not changing any font anywhere the gmedia/glib addons are properly installed and loaded, no errors ('cept for oUF movable frames, which is what i used to move the gframes around; but even when it does throwup an error, i just /rl and it fixes it).

I don't think theres another addon thats conflicting with it (Fontain is close but like i said in previous post, it doesn't change combat text).

why isn't it changing it? I know that it has to work cuz you took a few screen shots of it working.

I like gframes for the most part, and cuts my load time in like 1/2 omg thank you for that! lol
Last edited by Mileadus : 07-28-10 at 01:09 PM.
Mileadus is offline Report comment to moderator  
Reply With Quote
Unread 07-28-10, 10:12 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Re: Am i wrong?

Originally posted by Mileadus
Maybe i have a newer ver of gfont because my ver doesn't have the code mentioned to change

-- retrieve fonts
self.textfont = gMedia.fonts["EURO"] -- Most of the text
self.numberfont = gMedia.fonts["RUSSEL"] -- Numbers such as currencies, stack sizes, charge counts, etc
self.squarefont = gMedia.fonts["ZEKTON"] -- Units and Nameplates
self.damagefont = gMedia.fonts["KILL"] -- Floating Combat Text
self.hotkeyfont = gMedia.fonts["ZRNIC"] -- Tiny "numbers" such as hotkeys on actionbuttons

those lines don't exist, the addon might as well not have been loaded because it doesn't change anything on my screen. The only other font addons i have are Fontain (which doesn't control battle screen text...believe me i've tried it doesn't do it), and SharedMedia (which if i'm correct Sharedmedia is just a giant lib).

How else can i do this?

(cutting and pasting the new code doesn't work...unless i'm a dumbass and pasting it in the wrong place)
Yeah, it's been changed. You are not wrong!

My plan is to allow the user to choose fonts from any available ones, I just haven't gotten around to doing it yet.

The lines you are looking for, are lines 149-162 in the current version (or so I believe);
Code:
	-- Most of the text
	self.textfont 			= regionalfont[locale] and regionalfont[locale][3] or gMedia.lib.font["waukegan-gui"];

	-- Numbers such as currencies, stack sizes, charge counts, etc
	self.numberfont 		= regionalfont[locale] and regionalfont[locale][2] or gMedia.lib.font["bignoodletitling"]; 

	-- Units and Nameplates
	self.largefont 			= regionalfont[locale] and regionalfont[locale][4] or gMedia.lib.font["zekton"]; 

	-- Floating Combat Text
	self.damagefont 		= regionalfont[locale] and regionalfont[locale][1] or gMedia.lib.font["rkillc"]; 

	-- Tiny "numbers" such as hotkeys on actionbuttons
	self.hotkeyfont			= regionalfont[locale] and regionalfont[locale][3] or gMedia.lib.font["zrnic"];
The gMedia.lib.font["fontname"] parts are shortcuts to the paths of the fonts.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 07-27-10, 12:22 PM  
Mileadus
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Am i wrong?

Maybe i have a newer ver of gfont because my ver doesn't have the code mentioned to change

-- retrieve fonts
self.textfont = gMedia.fonts["EURO"] -- Most of the text
self.numberfont = gMedia.fonts["RUSSEL"] -- Numbers such as currencies, stack sizes, charge counts, etc
self.squarefont = gMedia.fonts["ZEKTON"] -- Units and Nameplates
self.damagefont = gMedia.fonts["KILL"] -- Floating Combat Text
self.hotkeyfont = gMedia.fonts["ZRNIC"] -- Tiny "numbers" such as hotkeys on actionbuttons

those lines don't exist, the addon might as well not have been loaded because it doesn't change anything on my screen. The only other font addons i have are Fontain (which doesn't control battle screen text...believe me i've tried it doesn't do it), and SharedMedia (which if i'm correct Sharedmedia is just a giant lib).

How else can i do this?

(cutting and pasting the new code doesn't work...unless i'm a dumbass and pasting it in the wrong place)
Last edited by Mileadus : 07-27-10 at 12:23 PM.
Mileadus is offline Report comment to moderator  
Reply With Quote
Unread 04-16-10, 05:49 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Re: How do you choose which font to use?

Originally posted by rolfba
Maybee im missing something, but how do i choose the font it actually uses?
As mentioned below, you can't actually choose yet. Tagnar31 shows how you can do it now, by simple edits of the LUA code.

I do intend to add font selection "soon", though. It will let you choose from a dropdown of all installed gMedia fonts, and I intend to add SharedMedia support as well.

I originally made this as a simple font changer for my UI, but as most other simple things I make, I end up creating more functionality to it as I go along.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 04-16-10, 05:45 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by shbriggs
You forgot to package gLib with the latest release. Downloading GLib from the archive hope that works.

Thanks for all your hard work.
Upload with gLib awaiting approval. I named the version "1.123 w/ gLib". I apologize once more for the trouble I caused.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 04-16-10, 05:39 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by Tagnar31
Re: How do you choose which font to use?
Quote:
Originally posted by rolfba
Maybee im missing something, but how do i choose the font it actually uses?
You don't. It's just a font replacement addon, no options except activate/deactivate.

Err...in fact you can change the default fonts...just pick up the fonts you want to use(you can find fonts in Sharedmedia and other data bases for addons similar to it) ..copy them into gmedia/fonts-- than go to gfont folder and open the lua file...and at like a 1/3 of the text downways you will find :

-- retrieve fonts
self.textfont = gMedia.fonts["EURO"] -- Most of the text
self.numberfont = gMedia.fonts["RUSSEL"] -- Numbers such as currencies, stack sizes, charge counts, etc
self.squarefont = gMedia.fonts["ZEKTON"] -- Units and Nameplates
self.damagefont = gMedia.fonts["KILL"] -- Floating Combat Text
self.hotkeyfont = gMedia.fonts["ZRNIC"] -- Tiny "numbers" such as hotkeys on actionbuttons



At this point just rename the fonts you want to use to the fonts coresponding to these above>For Example I renamed the Emblem font(which I wanted to use to Floating combat text) to "KILL" font( in fact is not KILL is rkillc in the gmedia/fonts folder.YOu do same for other fonts. One thing though...I couldn't find in gmedia/fonts "RUSSEL" font so I just typed "ZEKTON" instead( which was in fact the Disko font renamed this way)..I did same for "EURO: one...since it seems that one is bugged and you can't changed even if you take other font and give it the name of the EURO fond from gmedia/fonts so..long story short the section above looks now for me like this:

-- retrieve fonts
self.textfont = gMedia.fonts["ZEKTON"] -- Most of the text
self.numberfont = gMedia.fonts["ZEKTON"] -- Numbers such as currencies, stack sizes, charge counts, etc
self.squarefont = gMedia.fonts["ZEKTON"] -- Units and Nameplates
self.damagefont = gMedia.fonts["KILL"] -- Floating Combat Text
self.hotkeyfont = gMedia.fonts["ZRNIC"] -- Tiny "numbers" such as hotkeys on actionbuttons


P.S. Remember to exit game for these changes to take effect.
You can take a peek inside gMedia.lua if you're curious as to what actual fonts the names refer to.

gMedia is currently in a real beta phase, or even alpha. I do plan to release it as a stand-alone library, but not in quite some time. When it is released though, the names on the fonts will be equal to the actual font names, not weird shortcuts like now. Those weird shortcuts are pretty much just for my own convenience.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 04-16-10, 05:34 AM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Originally posted by shbriggs
You forgot to package gLib with the latest release. Downloading GLib from the archive hope that works.

Thanks for all your hard work.
*blush*

I'll remedy that error ASAP! Really sorry about this. And yes, the gLibs from the archive works.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 04-16-10, 01:18 AM  
Tagnar31
A Kobold Labourer
 
Tagnar31's Avatar

Forum posts: 0
File comments: 22
Uploads: 0
Re: How do you choose which font to use?
Quote:
Originally posted by rolfba
Maybee im missing something, but how do i choose the font it actually uses?
You don't. It's just a font replacement addon, no options except activate/deactivate.

Err...in fact you can change the default fonts...just pick up the fonts you want to use(you can find fonts in Sharedmedia and other data bases for addons similar to it) ..copy them into gmedia/fonts-- than go to gfont folder and open the lua file...and at like a 1/3 of the text downways you will find :

-- retrieve fonts
self.textfont = gMedia.fonts["EURO"] -- Most of the text
self.numberfont = gMedia.fonts["RUSSEL"] -- Numbers such as currencies, stack sizes, charge counts, etc
self.squarefont = gMedia.fonts["ZEKTON"] -- Units and Nameplates
self.damagefont = gMedia.fonts["KILL"] -- Floating Combat Text
self.hotkeyfont = gMedia.fonts["ZRNIC"] -- Tiny "numbers" such as hotkeys on actionbuttons



At this point just rename the fonts you want to use to the fonts coresponding to these above>For Example I renamed the Emblem font(which I wanted to use to Floating combat text) to "KILL" font( in fact is not KILL is rkillc in the gmedia/fonts folder.YOu do same for other fonts. One thing though...I couldn't find in gmedia/fonts "RUSSEL" font so I just typed "ZEKTON" instead( which was in fact the Disko font renamed this way)..I did same for "EURO: one...since it seems that one is bugged and you can't changed even if you take other font and give it the name of the EURO fond from gmedia/fonts so..long story short the section above looks now for me like this:

-- retrieve fonts
self.textfont = gMedia.fonts["ZEKTON"] -- Most of the text
self.numberfont = gMedia.fonts["ZEKTON"] -- Numbers such as currencies, stack sizes, charge counts, etc
self.squarefont = gMedia.fonts["ZEKTON"] -- Units and Nameplates
self.damagefont = gMedia.fonts["KILL"] -- Floating Combat Text
self.hotkeyfont = gMedia.fonts["ZRNIC"] -- Tiny "numbers" such as hotkeys on actionbuttons


P.S. Remember to exit game for these changes to take effect.
Last edited by Tagnar31 : 04-16-10 at 01:22 AM.
Tagnar31 is offline Report comment to moderator  
Reply With Quote
Unread 04-15-10, 10:56 PM  
shbriggs
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
You forgot to package gLib with the latest release. Downloading GLib from the archive hope that works.

Thanks for all your hard work.
shbriggs is offline Report comment to moderator  
Reply With Quote
Unread 04-14-10, 12:48 PM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Re: Simplicity ??

Originally posted by Blazingstorm
I always found it easier to just make a Fonts folder, and create 4 copies of your favorite font, then rename them ARIALIN, MORPHEUS, FRIZQT__, and skurri. Then just drop this folder in your WoW directory. Of coarse this will change all your WoW system fonts. No code needed, so less room for errors.
Easier, sure.

But then you don't get to choose what font is used where. I don't use the same grouping as WoW does. WoW comes with 4 fonts, and even if you replace them all, what was supposed to have font number 3, will always get font number 3, no matter what font you change font number 3 to.

I wanted a special font for floating combat text, a unique font for most of the numbers, one font for BIG text like the zone text that appears in the centre of the screen, or on the map. And a whole other font for most of the other text. Simply changing the 4 default fonts didn't make it exactly like I wanted, no matter what.

So there's your answer.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 04-14-10, 12:43 PM  
Goldpaw
A Cyclonian
 
Goldpaw's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 296
Uploads: 21
Re: How do you choose which font to use?

Originally posted by rolfba
Maybee im missing something, but how do i choose the font it actually uses?
You don't. It's just a font replacement addon, no options except activate/deactivate.
__________________
http://www.friendlydruid.com/
Goldpaw is offline Report comment to moderator  
Reply With Quote
Unread 04-14-10, 11:12 AM  
Blazingstorm
A Deviate Faerie Dragon
 
Blazingstorm's Avatar

Forum posts: 16
File comments: 39
Uploads: 0
Simplicity ??

I always found it easier to just make a Fonts folder, and create 4 copies of your favorite font, then rename them ARIALIN, MORPHEUS, FRIZQT__, and skurri. Then just drop this folder in your WoW directory. Of coarse this will change all your WoW system fonts. No code needed, so less room for errors.
Blazingstorm is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.