One - One Code All

Blog Content

mac 查看字体

Linux-Mac   2020-03-22 11:32:27

执行命令:fc-list :lang=zh

报错:


$ fc-list :lang=zh
-bash: fc-list: command not found

$ brew install fontconfig
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae

==> Pouring freetype-2.10.1.catalina.bottle.tar.gz
????  /usr/local/Cellar/freetype/2.10.1: 61 files, 2.2MB
==> Installing fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.13.1.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/64/64ff208b28613dfe2a65b9d74fd9b0129f3ca7e423db78329144cdaf51b36f7
######################################################################## 100.0%
==> Pouring fontconfig-2.13.1.catalina.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /usr/local/Cellar/fontconfig/2.13.1/bin/fc-cache -frv
????  /usr/local/Cellar/fontconfig/2.13.1: 531 files, 3.4MB

$ fc-list :lang=zh
\Unable to revert mtime: /Library/Fonts
/System/Library/AssetsV2/com_apple_MobileAsset_Font6/e22377a7e2bd8dc8c7c52269bdd533b2d74fb49f.asset/AssetData/Kaiti.ttc: 楷体\-繁,楷體\-繁,Kaiti TC:style=常规体,標準體,Regular



上一篇:mac的软件安装工具brew使用查看安装了哪些软件
下一篇:Mac python3 matplotlib中文乱码解决

The minute you think of giving up, think of the reason why you held on so long.