Download
(10MB)
Download
Updated: 05-09-23 01:21 AM
Pictures
File Info
Compatibility:
Embers of Neltharion (10.1.0)
Updated:05-09-23 01:21 AM
Created:07-05-16 03:05 PM
Downloads:8,675
Favorites:29
MD5:

gmFonts  Popular! (More than 5000 hits)

Version: 1010-2023050901
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, opendyslexic

There is 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

Please read the fonts.txt for more details.

1010-2023050901
- added ## IconTexture: Interface\AddOns\*\icon.tga
- bump TOC

1000-2022120501
- fixed font GameTooltipHeader to remove the OUTLINE

1000-2022112401
- fonts added: OpenDyslexic

1000-2022110701
- implemented a fonts size delta to modify (-4 , +4) the size of the fonts where not fixed

1000-2022110601
- added X-WoWI-ID and X-Curse-Project-ID keywords to let WowUp manage it
- bump toc

1000-2022102701
- update to work in the latest ver.10.0.0

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 (5)
File Name
Version
Size
Author
Date
1000-2022120501
10MB
gmarco
12-04-22 11:51 PM
1000-2022112401
10MB
gmarco
11-24-22 12:45 PM
1000-2022110701
9MB
gmarco
11-07-22 12:06 AM
1000-2022110601
9MB
gmarco
11-06-22 02:58 AM
1000-2022102701
9MB
gmarco
10-27-22 05:44 AM


Post A Reply Comment Options
Unread 08-19-24, 03:07 PM  
Orazur
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
New and improved

Hey everyone,

I have created my own version of this addon, that you can find on CurseForge
My decision came from looking into the code to try to fix the Quest Tracker (as someone already commented), and realising it'd just be easier for me to just start from scratch. So that's what I've done, and tada! It's fixed 🙂

Now I'm also not saying gmFonts is abandoned, because I have no idea! But I wasn't sure when it would get updated, if ever, which is why I am posting this comment. I have tried to reach to the author but I have had no answer yet. If I ever get asked to remove my comment I will happily oblige

Keep in mind though my version does not automatically provide extra fonts to choose from, so if you wish to use any of the extra fonts pre-provided by gmFonts you wil have to add it through SharedMedia
In the future I'd also like to automatically support any kind of addon that adds its own text fonts, which currently is not the case neither in my version or gmarco's

Thanks!
Report comment to moderator  
Reply With Quote
Unread 08-14-24, 09:38 AM  
Treacherouz
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
You can fix that error by replacing GetAddOnMetadata with C_AddOns.GetAddOnMetadata in core.lua. That will get it working again.

It seems something in the objective tracker has changed however. The font is no longer being affected by gmfonts. Is there anyone who is able to troubleshoot and fix that up? Would be much appreciated!

Thanks for this great addon!
Last edited by Treacherouz : 08-14-24 at 09:38 AM.
Report comment to moderator  
Reply With Quote
Unread 08-13-24, 05:43 PM  
Casglwr
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Fck!! Bliz broke stuff again. gmFonts not loading, no UI

Looks like Bliz changed something ?
gmFonts (with your patch) had been working up until this latest patch.

Now, a number of addons are now coughing up this hairball:

Message: Interface/AddOns/gmFonts/core.lua:267: attempt to call global 'GetAddOnMetadata' (a nil value)
Time: Tue Aug 13 19:22:09 2024
Count: 1
Stack: Interface/AddOns/gmFonts/core.lua:267: attempt to call global 'GetAddOnMetadata' (a nil value)

Locals:
Report comment to moderator  
Reply With Quote
Unread 07-27-24, 01:46 PM  
Casglwr
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Looks like I missed something, or the formatting here on this web page changed something. I'll just hand-paste in your second post and stop bothering you.
Thanks again for your help, love the addon with all my eyes (even if only two)!

.......................

Oh. So I wanted to run "git apply" on that then. Never had to do that by hand before.

git apply <file name of copied patch> core.lua
results in
error: patch failed: core.lua:242
error: core.lua: patch does not apply

This is what I copied from the previous post:
diff --git a/core.lua b/core.lua
index 3dc62f1..3243a98 100644
--- a/core.lua
+++ b/core.lua
@@ -242,11 +242,15 @@ end
-- Configuration Panel -------------------------------------------------------------------------------------

local options = CreateFrame("Frame", ADDON.."Options", InterfaceOptionsFramePanelContainer)
+local category, layout

UIParent:UnregisterEvent("GLOBAL_MOUSE_DOWN")

options.name = GetAddOnMetadata(ADDON, "Title") or ADDON
-InterfaceOptions_AddCategory(options)
+
+category, layout = Settings.RegisterCanvasLayoutCategory(options, options.name, options.name);
+category.ID = options.name
+Settings.RegisterAddOnCategory(category)

local title = options:CreateFontString("$parentTitle", "ARTWORK", "GameFontNormalLarge")
title:SetPoint("TOPLEFT", 16, -16)


----------------------

There seem to be at least three addons to change fonts, plus a good number more that let one change fonts just within that addon.

That sounds like a good reason for the creation of a library to handle that? As a bonus, the creation and maintenance work could be shared among that group.
Last edited by Casglwr : 07-27-24 at 02:38 PM.
Report comment to moderator  
Reply With Quote
Unread 07-27-24, 04:38 AM  
Srosh
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 10
Uploads: 1
It's a diff file so you can't just copy-paste it. The code block should look like this after the diff is correctly applied:

Code:
local options = CreateFrame("Frame", ADDON.."Options", InterfaceOptionsFramePanelContainer)
local category, layout

UIParent:UnregisterEvent("GLOBAL_MOUSE_DOWN")

options.name = GetAddOnMetadata(ADDON, "Title") or ADDON

category, layout = Settings.RegisterCanvasLayoutCategory(options, options.name, options.name);
category.ID = options.name
Settings.RegisterAddOnCategory(category)

local title = options:CreateFontString("$parentTitle", "ARTWORK", "GameFontNormalLarge")
title:SetPoint("TOPLEFT", 16, -16)
title:SetText(options.name)
options.title = title

local textmenu = options:CreateFontString("$parentTitle", "ARTWORK", "GameFontNormal")
textmenu:SetPoint("TOPLEFT", 16, -48)
A '-' in front of a line means it's removed, and a '+' that it is added.
Report comment to moderator  
Reply With Quote
Unread 07-26-24, 06:20 PM  
Casglwr
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
[quote=devmem]To author: here is a diff patch I used to get the addon working in the prepatch. Not sure if it's the best way to restore the config panel but seems to work.

Either I'm doing copy / comment out / paste wrong, or 'not enough magic'.
I commented out this bit:

-- local options = CreateFrame("Frame", ADDON.."Options", InterfaceOptionsFramePanelContainer)

-- UIParent:UnregisterEvent("GLOBAL_MOUSE_DOWN")

-- options.name = GetAddOnMetadata(ADDON, "Title") or ADDON
-- InterfaceOptions_AddCategory(options)

-- local title = options:CreateFontString("$parentTitle", "ARTWORK", "GameFontNormalLarge")
-- title:SetPoint("TOPLEFT", 16, -16)

and pasted in your post, but I get this:
Message: Interface/AddOns/gmFonts/core.lua:257: unexpected symbol near 'local'
Time: Fri Jul 26 20:17:12 2024
Count: 1
Stack: Interface/AddOns/gmFonts/core.lua:257: unexpected symbol near 'local'

Locals:

and gmFonts doesn't load.

Help?


BTW gmGuildFriends LDB feed doesn't seem to work, although mouse-over does bring the expected listing up, so it survived Bliz' UI maniacs latest rampage pretty well.
Report comment to moderator  
Reply With Quote
Unread 07-25-24, 10:09 PM  
devmem
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
To author: here is a diff patch I used to get the addon working in the prepatch. Not sure if it's the best way to restore the config panel but seems to work.

Lua Code:
  1. diff --git a/core.lua b/core.lua
  2. index 3dc62f1..3243a98 100644
  3. --- a/core.lua
  4. +++ b/core.lua
  5. @@ -242,11 +242,15 @@ end
  6.  -- Configuration Panel -------------------------------------------------------------------------------------
  7.  
  8.  local options = CreateFrame("Frame", ADDON.."Options", InterfaceOptionsFramePanelContainer)
  9. +local category, layout
  10.  
  11.  UIParent:UnregisterEvent("GLOBAL_MOUSE_DOWN")
  12.  
  13.  options.name = GetAddOnMetadata(ADDON, "Title") or ADDON
  14. -InterfaceOptions_AddCategory(options)
  15. +
  16. +category, layout = Settings.RegisterCanvasLayoutCategory(options, options.name, options.name);
  17. +category.ID = options.name
  18. +Settings.RegisterAddOnCategory(category)
  19.  
  20.  local title = options:CreateFontString("$parentTitle", "ARTWORK", "GameFontNormalLarge")
  21.  title:SetPoint("TOPLEFT", 16, -16)
Report comment to moderator  
Reply With Quote
Unread 07-25-24, 07:20 PM  
Juju_Blue
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Miss this addon

Just wanted to say, this addon has been my absolute favourite. I dearly hope that it will be updated.
Report comment to moderator  
Reply With Quote
Unread 07-24-24, 11:00 PM  
irdamajere
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Sorely missed!

Just wanted to chime in as well and say how much I appreciate this addon, and that I hope it gets updated. Thanks so much!
Report comment to moderator  
Reply With Quote
Unread 07-24-24, 01:39 PM  
Casglwr
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by Ak1ra
Im sry - but will this be updated? Been using this adddon for so long - cant imagine playing without it )
Me too!! Bliz has broken this addon -- and apparently screwed around a bit with the rest of the UI as well, as my carefully arranged UI layout loaded with right-hand toolbars overlapping the mini-map.

I really hope this gets updated, as I'm now forced to wear much stronger glasses if I want to continue to play WoW. I suppose I could try one of those complete UI replacement addons like ELVui, but that looks like a LOT of work to set up.

I wonder if using small fonts that cannot be adjusted would be covered by the Amerians With Disabilities Act regs??
Report comment to moderator  
Reply With Quote
Unread 07-24-24, 04:26 AM  
Ak1ra
A Fallenroot Satyr
 
Ak1ra's Avatar

Forum posts: 26
File comments: 64
Uploads: 0
Im sry - but will this be updated? Been using this adddon for so long - cant imagine playing without it )
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 12:52 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 335
Uploads: 46
Originally Posted by DreamsUnderStars
Been using this for a while now and wanted to say thanks! Being able to use Open Dyslexic font really helps!
Hi,

I really appreciated your feedback.
I have added the OpenDyslexic fonts in the addon so they will be find easier.

Thanks again.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-24-22, 09:21 AM  
DreamsUnderStars
A Defias Bandit

Forum posts: 3
File comments: 105
Uploads: 0
Been using this for a while now and wanted to say thanks! Being able to use Open Dyslexic font really helps!
Report comment to moderator  
Reply With Quote
Unread 11-19-22, 01:32 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 335
Uploads: 46
Re: Accessing config?

Originally Posted by Dave B
Hi, new to the addon, how do you actually access config for it???
Hi,

what do you mean ?

does not work the:

ESC --> Options --> Addons --> gmFonts ?



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 11-19-22, 01:08 PM  
Dave B
A Defias Bandit

Forum posts: 3
File comments: 13
Uploads: 0
Accessing config?

Hi, new to the addon, how do you actually access config for it???
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: