fcitx加载字体失败

来源:互联网 发布:大荆 去哪里开通网络 编辑:程序博客网 时间:2024/05/01 04:00

解决办法:

需要xft库的支持, 按照如下方法重新安装fcitx即可.

USE=xft emerge fcitx

 

 

 

错误现象:

选字窗口无法显示汉字, fcitx启动时有如下打印

Error: Cannot Create Chinese Fonts:
-*-Courier New-bold-r-normal--14-*-*-*-*-*-*-*,-*-WenQuanYi Bitmap Song-bold-r-normal--14-*-*-*-*-*-*-*
Using Default ...
Error: Cannot Create Chinese Fonts!

Error: Cannot Create Chinese Fonts:
-*-Courier New-medium-r-normal--12-*-*-*-*-*-*-*,-*-WenQuanYi Bitmap Song-medium-r-normal--12-*-*-*-*-*-*-*
Using Default ...
Error: Cannot Create Chinese Fonts!

Error: Cannot Create Chinese Fonts:
-*-Courier New-medium-r-normal--12-*-*-*-*-*-*-*,-*-WenQuanYi Bitmap Song-medium-r-normal--12-*-*-*-*-*-*-*
Using Default ...
Error: Cannot Create Chinese Fonts!