Fontain

Example

Fontain is a simple Ace3 addon to give you a highly configurable set of controls over your UI's font choices.

You can set a master font for your whole UI, and even override SharedMedia so that all addons that use SharedMedia will use your selected font. Additionally, you have fine-grained control over every font in your UI, with a powerful wildcard matching system.

For example, if you want to set your master font to "Calibri", but want your tooltips all in "Bazooka", you could set the font for GameTooltip as you see fit, and all font strings that match GameTooltip* will be updated, including all derivatives. While this is often already done via inheritance, it does catch a number of outlying cases, giving you very powerful control over your UI's font selections.

You must login to post a comment. Don't have an account? Register to get one!

  • 7 comments
  • Avatar of JCinDE JCinDE Oct 16, 2014 at 23:56 UTC - 0 likes

    This can be fixed for 6.0.2

    Replace line 66 with these two lines:

    local _, _, objType = pcall(v.GetObjectType,v)
    if meta and meta.__index and type(meta.__index) == "table" and meta.__index.GetFont and objType == "Font" then
    
  • Avatar of Steakneggs Steakneggs Dec 18, 2013 at 08:07 UTC - 0 likes

    So I know this project is marked abandoned, but it is still superior to most other font mods out there and worked until patch 5.4.2. I did some research and testing and determined the problem. It looks like the new in-game store added a protected frame for authentication, and any attempts to run code on that generates an error that stops the mod in its tracks.

    Changing line 63 of Fontain.lua to the following worked for me:

    if type(v) == "table" and k ~= "AuthChallengeFrameText" then
    

    That will cause the mod to skip the problem frame

  • Avatar of Tanthalus Tanthalus Sep 17, 2010 at 08:29 UTC - 0 likes

    This is superior, still, to clearfont2/3.

    Couple it with sharedmedia

  • Avatar of mothandras mothandras Jun 04, 2009 at 16:52 UTC - 0 likes

    When is this addon going to be updated again?

    I would love to replace Clearfont with this but there are several things this doesn't do.

    1. Change the fonts at the log in screen. 2. Names over units text isnt changed. 3. Some mods seem to not use the font selected with Fontain.

  • Avatar of seremina seremina May 11, 2009 at 23:16 UTC - 0 likes

    A question... does Fontain allow you to change the font sizes all over the UI? I love Clearfont 3, but I'm also having the hard-crash-with-nothing-saved issue. I'm trying to put up with it but I'm having a rough time.

  • Avatar of excatcher excatcher Jan 13, 2009 at 01:29 UTC - 0 likes

    Nice addon, but i have same problem that i have with clearfont2. Any hints on why i cant choose "Calibri" font when playing with Ru loc pack? Playing on usual europe realms w\o loc pack is ok however.. Sorry for bad english:P

  • Avatar of saltorio saltorio Oct 25, 2008 at 03:33 UTC - 0 likes

    Great job, Antiarc. Not sure what's happening with ClearFont2, so I figured I'd give Fontain a try. I love it.

    Please, keep up the wonderful work!

  • 7 comments

Facts

Date created
Oct 22, 2008
Category
Last update
Nov 11, 2014
Development stage
Release
Language
  • enUS
License
BSD License
Curse link
Fontain
Downloads
108,787
Recent files

Authors