I just can't get them to work since 6.0.2. They do work if I change the game's language to English. Everything else (i.e. custom textures) works fine though.
I figured out what was wrong: LSM:Register() now requires 4th argument for fonts to work on non-western locales.
lib.LOCALE_BIT_koKR = 1
lib.LOCALE_BIT_ruRU = 2
lib.LOCALE_BIT_zhCN = 4
lib.LOCALE_BIT_zhTW = 8
lib.LOCALE_BIT_western = 128
If your font contains korean, cyrillic and latin symbols (or more like if you want the font to be available on RU/KR/EN/DE/FR/etc. locales), your 4th argument must be 131 (128 + 2 + 1). (For some reason, it used to work without the 4th argument, I've taken a look at previous versions and nothing has changed in Register() function, weird.)
LSM:Register("font", "qfont", [[Interface\AddOns\nibRealUI\Fonts\qfont.ttf]], 2)
Indeed, WonderfulHorrors is right (and thanks a lot for the info!).
Can we have this fixed?
To post a comment, please
or register a new account.