Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

还是字体乱码的问题,安装了但没有生效呢 #3

Closed
everettjf opened this issue Dec 23, 2017 · 3 comments
Closed

还是字体乱码的问题,安装了但没有生效呢 #3

everettjf opened this issue Dec 23, 2017 · 3 comments

Comments

@everettjf
Copy link
Contributor

macOS 下按照 https://github.com/ryanoasis/nerd-fonts 的brew安装方法

brew tap caskroom/fonts
brew cask install font-hack-nerd-font

安装后文件列表文件名左侧还是乱码

image

@dofy
Copy link
Owner

dofy commented Dec 23, 2017

要设置一下 terminal 的字体

@everettjf
Copy link
Contributor Author

everettjf commented Dec 23, 2017

terminal.app设置Nerd字体后,可以了。
iTerm2.app 需要同时设置 Non-ascii font。
image

MacVim.app 需要在.vimrc.local中设置字体:

set guifont=Knack\ Nerd\ Font:h12

@dofy
Copy link
Owner

dofy commented Jul 6, 2022

Warning
caskroom/fonts was moved. Tap homebrew/cask-fonts instead.
and
brew cask is no longer a brew command. Use brew <command> --cask instead.

Note

brew tap homebrew/cask-fonts
brew install font-hack-nerd-font --cask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants