Centos下安装中文字体
· 技术积累 · Centos7 字体

Centos7 安装中文字体,一般在 程序中文字体显示 和 文本导出下载 会使用到

字体文件:可以网上下载,也可以使用windows系统的字体文件

# 查看字体列表
fc-list

# 查看中文字体
fc-list :lang=zh

Centos下安装中文字体


例:上传字体到 /usr/share/fonts/ 目录下面,并生成字体缓存(字体文件名称自定义,改完名称记得要fa-cache 下)

Centos下安装中文字体


如遇报错,安装命令解决:yum install -y fontconfig


本文最后更新时间 2024-03-30
文章链接地址:
https://me.jinchuang.org/archives/979.html
本站文章除注明[转载|引用],均为本站原创内容,转载前请注明出处
yum安装出现error: %pre() scriptlet failed, exit status 1, Error in PREIN scriptlet in rpm package 错误
Centos7 使用strongSwan搭建IKEv2
在Nginx中配置使用Geoip2模块
pip 安装错误 Command "python setup.py egg_info" failed with error code

Shell脚本利用企业微信API-发送应用消息-到企业微信

Navicat Premium11带破解补丁

我要留言