Ubuntu 14.04 Steam 字体问题

Ubuntu 14.04 Steam 字体问题

我最近安装了一份全新的 trusty,准备再次使用 steam。安装过程很简单,steam 启动正常,但结果看起来 steam 缺少一些字体……

http://i.imgur.com/loYhoqX.png

我以为缺少 mscorefont,因为 steam 大量使用它,但我之前安装了它

sudo apt-get install ttf-mscorefonts-installer 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ttf-mscorefonts-installer is already the newest version.

通过 shell env 运行 steam 会出现以下情况:

steam
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
[2015-03-03 18:36:35] Startup - updater built Feb 18 2015 15:31:44
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
[2015-03-03 18:36:35] Verifying installation...
[2015-03-03 18:36:35] Verification complete
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
Installing breakpad exception handler for appid(steam)/version(1424305157)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
Installing breakpad exception handler for appid(steamwebhelper)/version(20150218153139)
Installing breakpad exception handler for appid(steamwebhelper)/version(1424273499)
Installing breakpad exception handler for appid(steamwebhelper)/version(20150218153139)
Installing breakpad exception handler for appid(steamwebhelper)/version(1424305157)
Installing breakpad exception handler for appid(steamwebhelper)/version(1424305157)
[0303/183635:ERROR:nss_util.cc(1018)] Failed to load NSS libraries.
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
FillInMachineIDInfo took a total of 0 milliseconds
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
[0303/183636:ERROR:renderer_main.cc(227)] Running without renderer sandbox
[0303/183636:ERROR:renderer_main.cc(227)] Running without renderer sandbox
Generating new string page texture 12: 32x256, total string texture memory is 32,77 KB
Generating new string page texture 13: 128x256, total string texture memory is 163,84 KB
Generating new string page texture 14: 256x256, total string texture memory is 425,98 KB
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number

overlay-scrollbar 和 unity-gtk-module 可能不是原因:

sudo apt-get install overlay-scrollbar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
overlay-scrollbar is already the newest version.

sudo apt-get install unity-gtk-module-common 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
unity-gtk-module-common is already the newest version.

我不确定这到底是什么意思:

Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element

也许有人可以启发我:)

答案1

检查你的~/.fonts文件夹。

如果此文件夹为空,请下载Steam字体并将该档案的内容提取到您的~/.fonts文件夹中。

重启 steam 后字体应该恢复。

相关内容