SF Mono is a font from Apple, that is clear, easy to read, and suitable for programming. SFMono Square is based on SF Mono, and added glyphs for Japanese & patched for Nerd Fonts.
Now, SF Mono Square v3 has completely the same codepoints as Nerd Fonts v3's ones.
Thoughts and detail description here:
- SF Mono を使って最高のプログラミング用フォントを作った話 - Qiita (in Japanese)
- SF Mono: Apple
- Migu 1M: Miguフォント : M+とIPAの合成フォント
- Nerd Fonts: ryanoasis/nerd-fonts: Iconic font aggregator, collection, and patcher. 40+ patched fonts, over 3,600 glyph/icons, includes popular collections such as Font Awesome & fonts such as Hack
And, idea and some code is from プログラミング用フォント Ricty.
Install with Homebrew.
brew tap delphinus/sfmono-square
brew install sfmono-square
open "$(brew --prefix sfmono-square)/share/fonts"
# open fonts with Finder
In default, this formula reduces the size of glyphs in Migu 1M (zenkaku font) and matches with SF Mono (hankaku font). The ratio is 82%.
When you want to change this value, you can do this by brew edit
and follow comments in the formula.
brew edit sfmono-square
See screenshots for examples here.