Quantcast
Download
(9 MB)
Download
Updated: 10-18-20 12:54 AM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-18-20 12:54 AM
Created:07-05-16 03:05 PM
Downloads:6,734
Favorites:24
MD5:

gmFonts  Popular! (More than 5000 hits)

Version: 900-2020101801
by: gmarco [More]

gmFonts
(previously known as MyFonts)

A small addon for changing default UI fonts and/or adding them in LibSharedMedia.

Fonts added:
ace futurism, ad mono, candara, carlito, comic neue, dosis, droid, expressway, ladybug love demo, lato, lauren, noto, pt sans, ropa sans, terminus, the happy giraffe demo, ubuntu, verdana.

Please read the fonts.txt for more deatails.

900-2020101801
- update libs to the latest

900-2020101401
- bump toc
- first fixes to work with 9.0.x
- update libqtip to the latest
- changed the reference to the fonts name to _G.
- fixed a frame SetBackdrop in PhanxConfig-Dropdown.lua

830-2020021901
- fixed a dropdown menu after a patch 8.3 change in Event("GLOBAL_MOUSE_DOWN")
Check: https://www.wowinterface.com/forums/showthread.php?t=57827

820-2019062801
- bump toc

810-2018122201
- bump toc

801-2018071801
- first fix for pre-patch v8.0.1
- added fonts Roboto

730-2017091601
- fonts added: Droid Sans
- fonts added: Noto
- moved fonts descriptions out of the code in a new file: fonts.txt
- added a custom entry in LSM menu "My custom font" to use a custom user font.
The font file has to be copied in fonts dir before the game is loaded with the name:
myfont.ttf

730-2017091201
- update Phanx's PhanxConfig-Dropdown using the official file and fix

730-2017083101
- bump toc
- hack to fix Phanx's PhanxConfig-Dropdown changing the PlaySound() to use the new 7.3 syntax

720-2017032801
- bump toc

1.0-2016123101
- fonts added: Ubuntu Mono
- fonts added: Droid Sans Mono
- fonts added: AD Mono
- fonts added: Terminus
- fonts added: Ropa Sans
- fonts added: Dosis

1.0-2016112701
- fonts added: Happy Giraffe
- fonts added: Lady Bug

1.0-2016102601
- bump toc

1.0-2016092801
- codename "Claudia"
- removed Calibri Fonts due license problems. Use Carlito as dropin replacement.
- added a some fonts definitions from: https://github.com/Phanx/PhanxFont
- fix a typo in the Laurel definition
- added Lato fonts
- updated PhanxConfig-Dropdown to the latest

1.0-2016070501
- updated for 7.0
- changed name and references to gmFonts

1.0-2015062401
- bump toc for 6.2

1.0-2015060201
- fonts added: lauren

1.0-2015051801
- fonts added: verdana

1.0-2015043001
- Used phanx widget class to manage the fonts lists: https://github.com/Phanx/PhanxConfig-Dropdown/wiki
This prevent an off screen widget when there are too many fonts.
- Simplified and removed unused code.

1.0-2015040701
- fonts added: expressway

1.0-2015022501
- bump toc for 6.1

1.0-2015020804
- add a credit line
- fonts added: calibri (to be a drop in replacement for tekticles)
- fonts added: candara

1.0-2015020803
- fix a typo

1.0-2015020802
- removed debug code

1.0-2015020801
- fix a font path adding a .ttf at the end of a font name (even if it worked the same)
- now the addon can set the fonts for the whole UI.

1.0-2014101501
- initial release
- fonts added: Ace Futurism, PT Sans (replaces Myriad), Carlito (replaces Calibri), Ubuntu, Comic Neue
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Author
Date
900-2020101401
9MB
gmarco
10-14-20 04:49 PM
830-2020021901
9MB
gmarco
02-19-20 11:16 AM
820-2019062801
9MB
gmarco
06-28-19 03:31 AM
810-2018122201
9MB
gmarco
12-22-18 04:52 AM
801-2018071801
9MB
gmarco
07-17-18 11:10 PM
730-2017091601
9MB
gmarco
09-15-17 11:56 PM
730-2017091201
7MB
gmarco
09-11-17 10:48 PM
730-2017083101
7MB
gmarco
08-31-17 03:06 PM
720-2017032801
7MB
gmarco
03-28-17 03:02 PM
1.0-2016112701
6MB
gmarco
11-27-16 05:07 AM
1.0-2016102601
6MB
gmarco
10-26-16 01:05 AM
1.0-2016092801
6MB
gmarco
09-28-16 12:10 AM
1.0-2016070501
5MB
gmarco
07-05-16 03:05 PM


Post A Reply Comment Options
Unread 11-25-20, 05:35 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 359
Uploads: 0
Originally Posted by gmarco
Hi,

I'll work on it after I finished the SL levelling
It should not be so much difficult.

Thanks so much for your inputs.
Thank you so much!
Report comment to moderator  
Reply With Quote
Unread 11-23-20, 01:20 PM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
Hi,

I'll work on it after I finished the SL levelling
It should not be so much difficult.

Thanks so much for your inputs.

Originally Posted by Aisenfaire
Hello! If it's not a lot of trouble, I think the option to resize font is something a lot of near-sighted people are looking for now that Phanxfont has been abandoned. Being able to globally resize by a % as you mentioned would be awesome!

Originally Posted by gmarco
Hi,

gmFonts deals with different fonts types but don't touch the fonts size.

This because the size is not uniq but changes depending where the font is actually applied.

Look:
Lua Code:
  1. SetFont(_G.AchievementFont_Small,              GMFONTS["B"], 12)
  2.     SetFont(_G.FriendsFont_Large,                  GMFONTS["N"], 15, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  3.     SetFont(_G.FriendsFont_Normal,                 GMFONTS["N"], 13, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  4.     SetFont(_G.FriendsFont_Small,                  GMFONTS["N"], 11, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  5.     SetFont(_G.FriendsFont_UserText,               GMFONTS["NR"], 12, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  6.     SetFont(_G.GameTooltipHeader,                  GMFONTS["B"], 15, "OUTLINE")

this is a piece of code of gmFonts.

As you can see the sizes are so many (12,15,13,11,12,32 ... and so on) depending which font they are related too. If you want to manage a single font you can try to modify the appropriate line and change manually the size. Then check if it fits your needs.

If instead you want to change the size of all, the modify of the addon should be easier because I'll probably ended in rewrite lines in this way:

Lua Code:
  1. SetFont(_G.AchievementFont_Small,              GMFONTS["B"], 12+GMFONTS["DELTASIZE"])

Where GMFONTS["DELTASIZE"] is something that we can define.

But also here we have to rethink the things because if a +2 could be a a great value for a font that default to 11 the same +2 is probably nothing for a font that default to 32

So should better to think to GMFONTS["DELTASIZE"] as a % of the font itself, es: +10%.

Btw If you need to change only 1 fonts probably the best way to do it is modifying the line of code

Let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-23-20, 01:51 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 359
Uploads: 0
Hello! If it's not a lot of trouble, I think the option to resize font is something a lot of near-sighted people are looking for now that Phanxfont has been abandoned. Being able to globally resize by a % as you mentioned would be awesome!

Originally Posted by gmarco
Hi,

gmFonts deals with different fonts types but don't touch the fonts size.

This because the size is not uniq but changes depending where the font is actually applied.

Look:
Lua Code:
  1. SetFont(_G.AchievementFont_Small,              GMFONTS["B"], 12)
  2.     SetFont(_G.FriendsFont_Large,                  GMFONTS["N"], 15, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  3.     SetFont(_G.FriendsFont_Normal,                 GMFONTS["N"], 13, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  4.     SetFont(_G.FriendsFont_Small,                  GMFONTS["N"], 11, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  5.     SetFont(_G.FriendsFont_UserText,               GMFONTS["NR"], 12, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  6.     SetFont(_G.GameTooltipHeader,                  GMFONTS["B"], 15, "OUTLINE")

this is a piece of code of gmFonts.

As you can see the sizes are so many (12,15,13,11,12,32 ... and so on) depending which font they are related too. If you want to manage a single font you can try to modify the appropriate line and change manually the size. Then check if it fits your needs.

If instead you want to change the size of all, the modify of the addon should be easier because I'll probably ended in rewrite lines in this way:

Lua Code:
  1. SetFont(_G.AchievementFont_Small,              GMFONTS["B"], 12+GMFONTS["DELTASIZE"])

Where GMFONTS["DELTASIZE"] is something that we can define.

But also here we have to rethink the things because if a +2 could be a a great value for a font that default to 11 the same +2 is probably nothing for a font that default to 32

So should better to think to GMFONTS["DELTASIZE"] as a % of the font itself, es: +10%.

Btw If you need to change only 1 fonts probably the best way to do it is modifying the line of code

Let me know.
Report comment to moderator  
Reply With Quote
Unread 11-23-20, 01:08 AM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
Originally Posted by Halona
I'm curious/confused, looking for a replacement of phanxfont. It let you change normal and bold font styles. Yours has lines for normal, bold, bolditalic, italic, and numbers, but they are all the same. Why show all those lines if you can only change one master font?
Hi,

there are 2 kind of actions.

the first and easy is to use a shared media font where there is only a master font. You set it and you get it everywhere.

the second is using a gmfonts set of fonts that replace the fonts everywhere using the different styles of font that WoW defined. For this sets I provided 5 style of fonts (normal, bold, italic etc etc ... ) and they are used to replace the default blizzard fonts with the same font style.

In example:

Lua Code:
  1. GameNormalNumberFont  being a bold will replaced by the set font you choose using the bold one, size 11
  2. InvoiceFont_Med is an italic and it will use a italic syle with size 13
  3. NumberFont_OutlineThick_Mono_Small is a regular and size 13 (with outline)

I hope it is more clear now.

Thanks for your feedback ...
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-20-20, 01:43 AM  
Halona
A Murloc Raider

Forum posts: 6
File comments: 10
Uploads: 0
I'm curious/confused, looking for a replacement of phanxfont. It let you change normal and bold font styles. Yours has lines for normal, bold, bolditalic, italic, and numbers, but they are all the same. Why show all those lines if you can only change one master font?
Report comment to moderator  
Reply With Quote
Unread 10-22-20, 09:22 PM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
Hi,

gmFonts deals with different fonts types but don't touch the fonts size.

This because the size is not uniq but changes depending where the font is actually applied.

Look:
Lua Code:
  1. SetFont(_G.AchievementFont_Small,              GMFONTS["B"], 12)
  2.     SetFont(_G.FriendsFont_Large,                  GMFONTS["N"], 15, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  3.     SetFont(_G.FriendsFont_Normal,                 GMFONTS["N"], 13, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  4.     SetFont(_G.FriendsFont_Small,                  GMFONTS["N"], 11, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  5.     SetFont(_G.FriendsFont_UserText,               GMFONTS["NR"], 12, nil, nil, nil, nil, 0, 0, 0, 1, -1)
  6.     SetFont(_G.GameTooltipHeader,                  GMFONTS["B"], 15, "OUTLINE")

this is a piece of code of gmFonts.

As you can see the sizes are so many (12,15,13,11,12,32 ... and so on) depending which font they are related too. If you want to manage a single font you can try to modify the appropriate line and change manually the size. Then check if it fits your needs.

If instead you want to change the size of all, the modify of the addon should be easier because I'll probably ended in rewrite lines in this way:

Lua Code:
  1. SetFont(_G.AchievementFont_Small,              GMFONTS["B"], 12+GMFONTS["DELTASIZE"])

Where GMFONTS["DELTASIZE"] is something that we can define.

But also here we have to rethink the things because if a +2 could be a a great value for a font that default to 11 the same +2 is probably nothing for a font that default to 32

So should better to think to GMFONTS["DELTASIZE"] as a % of the font itself, es: +10%.

Btw If you need to change only 1 fonts probably the best way to do it is modifying the line of code

Let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 10-22-20, 04:14 PM  
Snichy
A Kobold Labourer
 
Snichy's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 21
Uploads: 6
Ive been looking for an addon that easily changes the whole default font (since Fontifier was abandoned) and stumbled upon your addon, which is great. Although I really need a way of changing the SIZE of the font, not just the type of font. Is that possible?
Report comment to moderator  
Reply With Quote
Unread 10-18-20, 04:14 PM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
Hi,

thanks for your feedback.

The problem is that if the font custon is not supplied with addon probably it trigger an error when build the dropdown menu. If it is supplied it surely overwrite a present custom font.

I have to check better the case 1 to see if it could be viable.

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 10-18-20, 08:21 AM  
Kithalaul
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
great addon the only issue i see is when i want to use a custom font it gets replaced with an update. im sure its due to how the addon updater works but still a little annoying.
Report comment to moderator  
Reply With Quote
Unread 10-03-19, 05:17 PM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 359
Uploads: 0
Originally Posted by gmarco
Originally Posted by Aisenfaire
Hello! I was desperate for an addon that would change the fonts in classic and tried yours. This addon works perfectly with classic except it throws up the following error below. Would you consider updating it for classic? <3

Code:
Message: Interface\AddOns\gmFonts\core.lua:153: attempt to index global 'PaperDollTitlesPane' (a nil value)
Time: Wed Oct  2 04:50:36 2019
Count: 38
Stack: Interface\AddOns\gmFonts\core.lua:153: attempt to index global 'PaperDollTitlesPane' (a nil value)

Locals:

Hi,

I really didn't have time to install and use classic
I'll try to do a classic version soon, but in the meantime you can try to comment line 153 in core.lua:

from this:

Lua Code:
  1. for _,butt in pairs(PaperDollTitlesPane.buttons) do butt.text:SetFontObject(GameFontHighlightSmallLeft) end

to this:
Lua Code:
  1. -- for _,butt in pairs(PaperDollTitlesPane.buttons) do butt.text:SetFontObject(GameFontHighlightSmallLeft) end

and then start the game.

Please let me know.
Awesome, that got rid of the error! Thanks so much!
Report comment to moderator  
Reply With Quote
Unread 10-02-19, 11:07 AM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
Originally Posted by Mesima
Any possible way to get outline option added?
outline where ? in the unitframes ?
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 10-02-19, 11:07 AM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
Originally Posted by Aisenfaire
Hello! I was desperate for an addon that would change the fonts in classic and tried yours. This addon works perfectly with classic except it throws up the following error below. Would you consider updating it for classic? <3

Code:
Message: Interface\AddOns\gmFonts\core.lua:153: attempt to index global 'PaperDollTitlesPane' (a nil value)
Time: Wed Oct  2 04:50:36 2019
Count: 38
Stack: Interface\AddOns\gmFonts\core.lua:153: attempt to index global 'PaperDollTitlesPane' (a nil value)

Locals:

Hi,

I really didn't have time to install and use classic
I'll try to do a classic version soon, but in the meantime you can try to comment line 153 in core.lua:

from this:

Lua Code:
  1. for _,butt in pairs(PaperDollTitlesPane.buttons) do butt.text:SetFontObject(GameFontHighlightSmallLeft) end

to this:
Lua Code:
  1. -- for _,butt in pairs(PaperDollTitlesPane.buttons) do butt.text:SetFontObject(GameFontHighlightSmallLeft) end

and then start the game.

Please let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 10-02-19, 05:51 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 359
Uploads: 0
Hello! I was desperate for an addon that would change the fonts in classic and tried yours. This addon works perfectly with classic except it throws up the following error below. Would you consider updating it for classic? <3

Code:
Message: Interface\AddOns\gmFonts\core.lua:153: attempt to index global 'PaperDollTitlesPane' (a nil value)
Time: Wed Oct  2 04:50:36 2019
Count: 38
Stack: Interface\AddOns\gmFonts\core.lua:153: attempt to index global 'PaperDollTitlesPane' (a nil value)

Locals:
Last edited by Aisenfaire : 10-02-19 at 06:14 AM.
Report comment to moderator  
Reply With Quote
Unread 01-11-19, 10:54 AM  
Mesima
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Any possible way to get outline option added?
Report comment to moderator  
Reply With Quote
Unread 09-20-18, 11:17 PM  
gmarco
A Rage Talon Dragon Guard
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 310
File comments: 263
Uploads: 42
[quote=Xanory]
Originally Posted by gmarco
Originally Posted by Xanory
Originally Posted by gmarco
Originally Posted by Xanory
How can I adjust the status text size?
Hi,
which font do you mean ?
Can you provide a screenshot ?


myfont: [url]https://

screenshot:[url]https://
Hi,

I think it is a problem related to the specific font you choose that has big numbers and relative small letters in the same size.

For me the best solution you can find for you is to try to use another font because both size used in the portrait should be the same.

Please let me know.


HI,
Which core is related to status text?
I want to delete this .

thanks<3
Hi,
I really don't know which font is used there but probably it is the same font used in 90% of other places in your UI :/

So it is a problem to remove it.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: