- 代碼: 選擇全部
Traceback (most recent call last):
File "/usr/bin/iceme", line 27, in ?
from IceMenuTree import IceMenuTree
File "/usr/share/iceme/IceMenuTree.py", line 7, in ?
NORMAL_FONT = load_font("-*-helvetica-medium-r-normal-*-12-*")
File "/usr/lib/python2.3/site-packages/gtk-1.2/gtk.py", line 2713, in load_font
return _gtk.gdk_font_load(font)
RuntimeError: couldn't load the font
我修改了/usr/share/iceme/IceMenuTree.py的字型設定:
- 代碼: 選擇全部
#NORMAL_FONT = load_font("-*-helvetica-medium-r-normal-*-12-*")
NORMAL_FONT = load_font("-*-helvetica-medium-o-normal-*-12-*-*-*-*-*-*-*")
#BOLD_FONT = load_font("-*-helvetica-medium-o-normal-*-12-*")
BOLD_FONT = load_font("-*-helvetica-medium-o-normal-*-12-*-*-*-*-*-*-*")
執行結果就正常了,原來他用的字型真的是寫死在程式碼裡。這樣應該算是個 bug 吧?總之解決了。