mac系统下没有预装consolas字体,但是在JetBrains的IDE下,一直都觉得consolas字体看的最舒服。安装步骤如下:
检查mac系统下是否安装cabextractbrew install cabextract
➜ ~ mkdir consolas ➜ ~ cd consolas下载所需要的包
curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe
cabextract PowerPointViewer.exe cabextract ppviewer.cab open CONSOLA*.TTF