Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-11-13, 04:40 PM   #1
BillieJackFu
A Fallenroot Satyr
 
BillieJackFu's Avatar
Join Date: Jun 2009
Posts: 28
Fontain (Code Fix)

Alright, I've been using an outdated Addon called Fontain for years now with no issue, but 5.4.2 has finally broke the addon. The project is dead and I'm hoping someone can fix the code that seems to be throwing the error. I have snipped the code out and it has something to do with metatables and I'm not a programmer

Code:
	for k, v in pairs(_G) do
		-- pcall needed to protect against tables with metatables.
		if type(v) == "table" then
			local meta = getmetatable(v)
			if meta and meta.__index and type(meta.__index) == "table" and meta.__index.GetFont and v:GetObjectType() == "Font" then
				tinsert(fontList, v)
			end
		end
	end
If there is another addon out there where I can edit every font in the UI, I'll take that route, but I haven't been able to find one. Fontain is the single font addon which makes my UI unique.
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Fontain (Code Fix)


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