https://github.com/homebrew/homebrew-linux-fonts
π Formula of οΌ¦π
Ύπππ (fork of Caskroom-fonts)
https://github.com/homebrew/homebrew-linux-fonts
Last synced: 2 months ago
JSON representation
π Formula of οΌ¦π Ύπππ (fork of Caskroom-fonts)
- Host: GitHub
- URL: https://github.com/homebrew/homebrew-linux-fonts
- Owner: Homebrew
- License: bsd-2-clause
- Created: 2018-01-26T11:34:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T03:15:56.000Z (7 months ago)
- Last Synced: 2024-10-29T12:25:30.732Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 31.8 MB
- Stars: 51
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.1
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Fonts for Homebrew on Linux
homebrew-linux-fonts is a Homebrew Tap which allows you to use the same friendly Homebrew-style CLI workflow for the administration of binary font files on your Linux.
It is a fork of [homebrew-cask-fonts](https://github.com/Caskroom/homebrew-cask-fonts), since Homebrew Casks are only for macOS.## Prerequisites
These fonts are installable with [Homebrew](http://brew.sh).
Once installed, you can configure this repo as a source for fonts.Note that this repo differs from the upstream repository, `homebrew/homebrew-cask-fonts`.
The set of fonts available may not match exactly.
Changes to upstream eventually propagate to this repo.## Letβs try it!
```bash
$ brew tap homebrew/linux-fonts # you only have to do this once!
$ brew install font-inconsolata --HEAD
```## Working with fontconfig
If you're using major distributions in a single-user installation, run:
```
$ ln -s /home/linuxbrew/.linuxbrew/share/fonts -t ~/.local/share
$ fc-cache -fv
```For a multi-user installation, you must use `sudo` to run the commands:
```
$ sudo ln -s /home/linuxbrew/.linuxbrew/share/fonts -t /usr/local/share
$ sudo fc-cache -fv
```Then you can use the new font installed by `brew`.
## Development
### Submitting a Font Cask and Bugs
This repository automatically imports new font casks from
[the upstream repository](https://github.com/homebrew/homebrew-cask-fonts/) with a bot program, so changes there
will propagate to this repository automatically eventually.### Skipping translations by `.caskignore`
Some casks are incompatible with formula definition method.
`cask2formula` will skip translation for files listed in `.caskignore`.
`.caskignore` is written in Ruby's [`fnmatch` syntax](https://docs.ruby-lang.org/en/2.6.0/File.html#method-c-fnmatch).## Font Licenses
This repository follows `homebrew-cask-fonts`'s policy regarding font licenses:
> homebrew-cask-fonts will only accept fonts which are freely-distributable. However, even freely-distributable fonts may have limitations (for instance, if you use them in a commercial enterprise). It is the responsibility of the user to know and respect the license of each font.
## License
- homebrew-linux-fonts (Formula, cask2formula)
Code is under the [BSD 2 Clause (NetBSD) license](https://github.com/Homebrew/homebrew-linux-fonts/blob/master/LICENSE.2)- homebrew-cask-fonts (all other files)
Code is under the [BSD 2 Clause (NetBSD) license](https://github.com/Homebrew/homebrew-cask-fonts/blob/master/LICENSE),
also provided [here](https://github.com/Homebrew/homebrew-linux-fonts/blob/master/LICENSE.1).## Acknowledgement
The author of this project uses Gitpod to develop this project.
Gitpod provides Professional Open Source plan to him.