javabluesky

1. 安装字体设置工具fontconfig和ttmkfdir(也可安装freetype/Xft以增强字体显示效果)
2. 将Windows下的TrueType字体目录(C:/windows/fonts/*.ttf,*.ttc,*.TTF )拷贝到Linux系统的字体目录(/usr/share/fonts/windows)。
#cd /usr/share/fonts/windows
3. 创建字体索引
#ttmkfdir -o fonts.scale (创建TrueType字体的索引文件,会把原来的覆盖掉)
4. 更新字体信息缓存并重启字体服务xfs
#fc-cache -fv
#/sbin/service xfs restart
5. 检查字体安装情况
#fc-list | grep Sim
6. 修正浏览器的中文字体
firefox:Edit->Preferences->Content Tab->Default font设为Simsun(宋体)
7. 修正输入法的中文字体
scim:Pannel->GTK->Font设为Simsun(宋体)

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-12-05
  • 2021-12-05
  • 2021-07-25
  • 2021-12-11
  • 2022-02-11
  • 2021-12-06
猜你喜欢
  • 2021-12-05
  • 2022-02-09
  • 2021-12-22
  • 2022-12-23
  • 2021-12-05
  • 2021-08-22
  • 2021-09-25
相关资源
相似解决方案