Thread: Font Revision
View Single Post
05-17-16, 03:04 PM   #6
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
Originally Posted by semlar View Post
It's impossible to tell from your code whether you simply have the font path wrong because it's being dynamically created using resources outside of what's here.
Double checked that, and the paths are correct!
Btw. the hardcoded xml font paths are working...

Tested some things...

Test Macro 1:
Lua Code:
  1. /run GameFontNormal:SetFont("Interface\\AddOns\\MyAddon\\Media\\Fonts\\Zero.ttf",10)
  2. -- same result

Test Macro 2:
Lua Code:
  1. /run GameFontNormal:SetFont("Fonts\\MORPHEUS.ttf",10)
  2. -- does work

Using Macro 2 and than Macro 1 afterwards = changed it back to which font it was before...(I guess "Fonts\FRIZQT__.TTF")

This is pretty weird & seems to be bug...
__________________

Last edited by syncrow : 05-17-16 at 03:44 PM.