public
Description: WoW Addon - Simple font replacement
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/tekticles.git
Click here to lend your support to: tekticles and make a donation at www.pledgie.com !
Register fonts with LMS3, if present
tekkub (author)
Sat Apr 26 14:13:52 -0700 2008
commit  c665749fcad9e944a48d3ac33803b9e2c711b34c
tree    0ba80e51eff6169ed53613edf53c05e07b76b584
parent  ef079ed932ec65d5fcd45ace6d15d9b789c1ae49
...
83
84
85
 
 
 
 
 
 
 
 
 
...
83
84
85
86
87
88
89
90
91
92
93
94
0
@@ -83,3 +83,12 @@ f:SetScript("OnEvent", function()
0
     f:SetFont(NORMAL, size)
0
   end
0
 end)
0
+
0
+
0
+local LSM = LibStub:GetLibrary("LibSharedMedia-3.0", true)
0
+if LSM then
0
+ LSM:Register(LSM.MediaType.FONT, "Calibri", "Interface\\AddOns\\tekticles\\Calibri.ttf")
0
+ LSM:Register(LSM.MediaType.FONT, "Calibri Bold", "Interface\\AddOns\\tekticles\\CalibriBold.ttf")
0
+ LSM:Register(LSM.MediaType.FONT, "Calibri Bold Italic", "Interface\\AddOns\\tekticles\\CalibriBoldItalic.ttf")
0
+ LSM:Register(LSM.MediaType.FONT, "Calibri Italic", "Interface\\AddOns\\tekticles\\CalibriItalic.ttf")
0
+end
...
12
13
14
 
 
15
...
12
13
14
15
16
17
0
@@ -12,4 +12,6 @@
0
 ## LoadManagers: AddonLoader
0
 ## X-LoadOn-Always: delayed
0
 
0
+## OptionalDeps: LibSharedMedia-3.0
0
+
0
 tekticles.lua

Comments

    No one has commented yet.