LS: Glass

LS: Glass

57.5k Downloads

Add fonts

orion164 opened this issue ยท 1 comments

commented

Hello, is it possible to add new fonts?

I went to this folder "ls_Glass\embeds\LibSharedMedia-3.0", i edited the file LibSharedMedia-3.0.lua and i added to rows 169 and 188 the following:

SML_MT_font["FONTNAME"] = [[Fonts\FONTNAME.TTF]]

I also added the font in the font folder in the retail directory but after a /reload nothing happens.

Thanks

commented

Yes, it's possible to add custom fonts via LSM. You need to do something like this:

LibStub("LibSharedMedia-3.0"):Register("font", "Your Font Name", "Your\\Font\\Path")

This way you'll be able to choose your font from the "Font" dropdown. Locally I use one of Google Noto flavours, so I do the same ๐Ÿ˜