15 - Custom fonts on Russian locale
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.
| User | When | Change |
|---|---|---|
| WonderfulHorrors | Oct 23, 2014 at 20:02 UTC | Create |
- 3 comments
- 3 comments
Facts
- Last updated
- Oct 23, 2014
- Reported
- Oct 23, 2014
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 1
- Reply
- #3
usucapral Jan 24, 2015 at 11:01 UTC - 0 likesIndeed, WonderfulHorrors is right (and thanks a lot for the info!).
Can we have this fixed?
- Reply
- #2
WonderfulHorrors Oct 23, 2014 at 20:47 UTC - 0 likesI figured out what was wrong: LSM:Register() now requires 4th argument for fonts to work on non-western locales.
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.)
An example:
LSM:Register("font", "qfont", [[Interface\AddOns\nibRealUI\Fonts\qfont.ttf]], 2)
- Reply
- #1
WonderfulHorrors Oct 23, 2014 at 20:07 UTC - 0 likeshttp://i.imgur.com/qTOlBlW.jpg
http://i.imgur.com/cuhBfD3.jpg
http://i.imgur.com/bsM4xM3.jpg
http://i.imgur.com/yMJGtcV.jpg