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(宋体)
相关文章:
- kubuntu添加windows字体 - you Richer 2021-09-12
- OpenType字体与TrueType字体的区别 2021-12-05
- SpriteBuilder添加的TrueType字体未显示在log中的原因分析 2021-11-23
- wpf使用truetype字体ttf - macleo 2021-12-05
- AD中怎么将字体stroke全部改为truetype? 2021-12-05
- linux下为libreoffice添加中文字体 2022-02-11
- eclipse添加字体 2021-12-06
- macOS添加字体 2021-11-02