vern@2006-12-11:/var% ls tags

ubuntu使用simsun字体

拷贝字体文件 mkdir -p /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/simsun.ttc /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/SURSONG.TTF /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/tahoma.ttf /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/tahomabd.ttf /usr/share/fonts/zh_CN/truetype/ sudo chmod 644 /usr/share/fonts/zh_CN/truetype/*

更新字体缓冲 cd /usr/share/fonts/zh_CN/truetype/ sudo mkfontscale sudo mkfontdir sudo fc-cache /usr/share/fonts/zh_CN/truetype/

修改字体显示的优先级 sudo vi /etc/fonts/language-selector.conf                         serif                                         Bitstream Vera Serif                         SimSun    <-- 添加这行                         DejaVu Serif                         AR PL ShanHeiSun Uni                         WenQuanYi Bitmap Song                         AR PL ZenKai Uni                                                 sans-serif                                         Bitstream Vera Sans                         SimSun    <-- 添加这行                         DejaVu Sans                         AR PL ShanHeiSun Uni                         WenQuanYi Bitmap Song                         AR PL ZenKai Uni

                                                monospace                                         Bitstream Vera Sans Mono                         SimSun   <-- 添加这行                         DejaVu Sans Mono                         AR PL ShanHeiSun Uni                         WenQuanYi Bitmap Song                         AR PL ZenKai Uni                 ...