Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delphinus/homebrew-sfmono-square
SFMono Square - patched font: SFMono + Migu 1M + Nerd Fonts
https://github.com/delphinus/homebrew-sfmono-square
Last synced: 7 days ago
JSON representation
SFMono Square - patched font: SFMono + Migu 1M + Nerd Fonts
- Host: GitHub
- URL: https://github.com/delphinus/homebrew-sfmono-square
- Owner: delphinus
- Created: 2018-03-18T06:31:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T08:27:55.000Z (7 months ago)
- Last Synced: 2024-04-16T22:29:52.908Z (7 months ago)
- Language: Python
- Homepage:
- Size: 4.03 MB
- Stars: 195
- Watchers: 10
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SFMono Square - patched font: SFMono + Migu 1M + Nerd Fonts
## What's this?
**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._
[Nerd Fonts]: https://github.com/ryanoasis/nerd-fonts
Thoughts and detail description here:
* [SF Mono を使って最高のプログラミング用フォントを作った話 - Qiita][qiita] (in Japanese)
[qiita]: https://qiita.com/delphinus/items/f472eb04ff91daf44274
### font source
* SF Mono: Apple
* Migu 1M: [Miguフォント : M+とIPAの合成フォント](https://itouhiro.github.io/mixfont-mplus-ipa/migu/)
* 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](https://github.com/ryanoasis/nerd-fonts)And, idea and some code is from [プログラミング用フォント Ricty](http://www.rs.tus.ac.jp/yyusa/ricty.html).
## How to use
Install with [Homebrew][].
[Homebrew]: https://brew.sh
```sh
brew tap delphinus/sfmono-square
brew install sfmono-squareopen "$(brew --prefix sfmono-square)/share/fonts"
# open fonts with Finder
```## Customize
### Change the ratio the size for zenkaku / hankaku
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.
[comments]: https://github.com/delphinus/homebrew-sfmono-square/blob/b99df9b00fa3c3c0637eba049f4619b363f69ed3/sfmono-square.rb#L43-L45
```sh
brew edit sfmono-square
```See screenshots for examples [here][].
[here]: https://github.com/delphinus/homebrew-sfmono-square/issues/9#issuecomment-515827269
## Screen Shots