/trunk
## Author: Phanx |
## X-Email: addons@phanx.net |
## X-Credits: Based on tekticles by Tekkub, which is based on ClearFont2 by Kirkburn. |
## X-Copyright: Copyright (c) 2012-2014 Phanx. |
## X-License: All rights reserved. |
## X-Copyright: Copyright (c) 2012-2014 Phanx. All rights reserved. |
## X-License: See the accompanying LICENSE file for details. |
## X-CompatibleLocales: enUS, deDE, esES, esMX, frFR, itIT, koKR, ptBR, ruRU, zhCN, zhTW |
## OptionalDeps: LibSharedMedia-3.0, PhanxConfigWidgets |
--[[-------------------------------------------------------------------- |
PhanxFont |
Simple font replacement. |
Based on tekticles by Tekkub, which is based on ClearFont2 by Kirkburn. |
Copyright (c) 2012-2014 Phanx <addons@phanx.net>. All rights reserved. |
local ADDON, Addon = ... |
Please DO NOT upload this addon to other websites, or post modified |
versions of it. However, you are welcome to use any/all of its code |
in your own addon, as long as you do not use my name or the name of |
this addon ANYWHERE in your addon, including in its name, outside of |
an optional attribution. You are also welcome to include this addon |
WITHOUT CHANGES in compilations posted on Curse and/or WoWInterface. |
----------------------------------------------------------------------]] |
local ADDON, Addon = ... |
local L = setmetatable({}, { |
__index = function(t, k) |
local v = tostring(k) |
Copyright (c) 2012-2014 Phanx. All rights reserved. |
Permission is granted for anyone to use, read, or otherwise interpret |
this software for any purpose, without any restrictions. |
Permission is granted for anyone to modify this software or sample from |
it, and to distribute such modified versions or derivative works as long |
as neither the names of this software nor its authors are used in the |
name or title of the work or in any other way that may cause it to be |
confused with or interfere with the simultaneous use of this software. |
Permission is granted for anyone to aggregate this software with other |
works not derived from this software for the purpose of creating a user |
interface replacement (also commonly known as a "compilation" or "addon |
pack") for the "World of Warcraft" game client, and to distribute such |
collective works as long as the software is not modified in any way, |
including by modifying or removing any files. |
This software may not be distributed standalone or in any other way, in |
whole or in part, modified or unmodified, without specific prior written |
permission from the authors of this software. |
The names of this software and/or its authors may not be used to |
promote or endorse works derived from this software without specific |
prior written permission from the authors of this software. |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
OTHER DEALINGS IN THE SOFTWARE. |
--[[-------------------------------------------------------------------- |
PhanxFont |
Simple font replacement. |
Based on tekticles by Tekkub, which is based on ClearFont2 by Kirkburn. |
Copyright (c) 2012-2014 Phanx <addons@phanx.net>. All rights reserved. |
local ADDON, Addon = ... |
Please DO NOT upload this addon to other websites, or post modified |
versions of it. However, you are welcome to use any/all of its code |
in your own addon, as long as you do not use my name or the name of |
this addon ANYWHERE in your addon, including in its name, outside of |
an optional attribution. You are also welcome to include this addon |
WITHOUT CHANGES in compilations posted on Curse and/or WoWInterface. |
----------------------------------------------------------------------]] |
local ADDON, Addon = ... |
PhanxFontDB = { |
normal = "Asap", |
bold = "Asap Bold", |
BattlePetTooltip.Name:SetFontObject(GameTooltipHeaderText) |
FloatingBattlePetTooltip.Name:SetFontObject(GameTooltipHeaderText) |
LFGListFrame.CategorySelection.CategoryButtons[1].Label:SetFontObject(GameFontNormal) |
WorldMapFrameNavBarHomeButtonText:SetFontObject(GameFontNormal) |
end) |