Thread: Game Font
View Single Post
09-14-09, 04:55 PM   #8
neuralassassin
A Scalebane Royal Guard
 
neuralassassin's Avatar
Join Date: Sep 2008
Posts: 423
You can change nui's font for every character by going to nui>main>localization.lua go down till you see all the font paths and comment out the ones you don't want using -- at the beginning of the line, and deleting those from the one you do want. You can also add any font you want by downloading it and saving it in nui>layouts>default>fonts. then simply add a line to the localization file specifying your new font
Example: you'll notice I added the Morpheus font in mine
Code:
nUI_L = {};
nUI_Locale = GetLocale(); 
        
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\ABF.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Accidental Presidency.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Adventure.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Bazooka.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Emblem.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Enigma__2.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Tw_Cen_MT_Bold.ttf";
    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\MORPHEUS.ttf";
--    nUI_L["font1"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\VeraSe.ttf";
--    nUI_L["font1"] = "Fonts\\ARIALN.TTF";
        
        nUI_L["font2"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\MORPHEUS.ttf";
--    nUI_L["font2"] = "Fonts\\FRIZQT__.TTF";
--    nUI_L["font2"] = "Interface\\AddOns\\nUI\\Layouts\\Default\\Fonts\\Emblem.ttf";
__________________


Last edited by neuralassassin : 09-14-09 at 04:58 PM.