Font loading broken on Linux @ 0.7.0 + beta build
rei created issue #1947 on 2014-03-30T16:56:24Z:
With Mesa 10.1.0 and libsdl 1.2.15 on 64bit Debian Linux, Xonotic in both the 0.7.0 release and the nightly build from beta.xonotic.org (2014-03-30) fails to load the Xonotic UI font, resulting in another substitue font being used for all UI text. Also, non-Latin characters fail to display now (like CJK characters). I attached a screenshot that illustrates the issue.
The font loading fails with messages like:
ERROR: Unrecognized pixel mode for font fonts/unifont-5.1.20080907 size 10.000000: 0
ERROR: can't load the first character map for fonts/unifont-5.1.20080907
This is fatal
and similar for all font weights. I attached the Xonotic log output which contains all the errors.
The issue is present in the Xonotic 0.7.0 release and the latest beta build (2014-03-30). Both the glx and sdl versions are affected. The rest of the gameplay remains unaffected.
Information on my system and the libraries in question:
- OS: Debian GNU/Linux jessie/sid, 64bit, kernel 3.13-6.dmz.1-liquorix-amd64 x86_64
- Graphics card: AMD Radeon HD6320
- Graphics driver: FOSS radeon driver @ Xorg 1.15.0
- Mesa version: 10.1.0 (Debian version: 10.1.0-4)
- libSDL version: 1.2.15 (Debian version: 1.2.15-9)
Changing the font size in the game, toggling effect and detail option did not show any effect. Mesa versions < 10.1 (including release candidates) did not exhibit this bug.