|
|
最近upgrade后,emacs字体就出现了问题,出现下面的提示,然后界面字体都是小框框,不过中文能正常显示,而且debian系统其他应用里的字体显示没有出问题
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
网上google了一通,有说把emacs21,purge后再重装就可以,我试过了,还是老问题.下面是我系统的一些配置,供参考:
>dpkg --get-selections | grep fonts
acroread-chfonts install
emacs-intl-fonts install
gbkfonts install
gsfonts install
gsfonts-x11 install
latex-xft-fonts install
x11proto-fonts-dev install
xfonts-100dpi install
xfonts-75dpi install
xfonts-base install
xfonts-encodings install
xfonts-intl-asian install
xfonts-intl-chinese install
xfonts-intl-chinese-big install
xfonts-intl-european install
xfonts-scalable install
xfonts-utils install
etc/X11/xorg.conf文件里的相关配置.
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/CID"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection |
|