fontist 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,47 @@
1
+ # Using Fontist with a proxy
2
+
3
+ Fontist uses Git internally for fetching formulas and fonts.
4
+
5
+ In order to use Git functionality behind a proxy, you need to update your own
6
+ Git config via the `git config` command or the `~/.gitconfig` preference file.
7
+
8
+ There are many ways to configure your local Git install to use proxies.
9
+
10
+ The simplest, global way of setting a proxy for Git is the following.
11
+
12
+ For HTTP
13
+
14
+ ```sh
15
+ git config --global http.proxy http://{user}:{pass}@{proxyhost}:{port}
16
+ ```
17
+
18
+ For HTTPS, you may need to handle SSL/TLS verification errors after setting
19
+ the proxy since the encryption end is located at your HTTPS proxy endpoint:
20
+
21
+ ```sh
22
+ git config --global http.proxy https://{user}:{pass}@{proxyhost}:{port}
23
+ git config --global https.proxy https://{user}:{pass}@{proxyhost}:{port}
24
+ ```
25
+
26
+ For SOCKS, you will need to decide on the SOCKS protocol:
27
+
28
+ ```sh
29
+ git config --global http.proxy '{protocol}://{user}:{pass}@{proxyhost}:{port}'
30
+ git config --global https.proxy '{protocol}://{user}:{pass}@{proxyhost}:{port}'
31
+ ```
32
+
33
+ For example,
34
+
35
+ ```sh
36
+ git config --global http.proxy 'socks5h://user:pass@socks-proxy.example.org'
37
+ git config --global https.proxy 'socks5h://user:pass@socks-proxy.example.org'
38
+ ```
39
+
40
+ The list of supported SOCKS protocols for the `{protocol}` field:
41
+
42
+ - `socks://`: for SOCKS below v5
43
+ - `socks5://`: for SOCKS v5
44
+ - `socks5h://`: for SOCKS below v5 + host resolution via SOCKS
45
+
46
+ You could actually set different proxy behavior for individual Git repositories
47
+ — please see this [great guide](https://gist.github.com/evantoli/f8c23a37eb3558ab8765) on how to use Git proxies (thanks to the GitHub user [evantoli](https://github.com/evantoli)).
data/docs/guide/why.md ADDED
@@ -0,0 +1,7 @@
1
+ # Why Fontist?
2
+
3
+ In general, fonts can be downloaded manually and placed in a system folder. Some fonts are even pre-installed with an OS. **This is inconsistent across Windows, macOS, and Linux.**
4
+
5
+ Fontist is a higher level abstraction that lets you use `fontist install` (or the `Fontist::Fontist` Ruby library) to manage your fonts with the same API across multiple platforms.
6
+
7
+ Fontist uses a formula repository to find where to download a requested font. The main formula repository contains a lot of fonts, including Google Fonts, SIL Fonts, and macOS add-on fonts.
data/docs/index.md ADDED
@@ -0,0 +1,40 @@
1
+ ---
2
+ # https://vitepress.dev/reference/default-theme-home-page
3
+ layout: home
4
+
5
+ hero:
6
+ # name: "Fontist"
7
+ text: "Manage your fonts effortlessly"
8
+ tagline: Fontist brings cross-platform font management to the command line for Windows, Linux, and macOS. Free and open source.
9
+ image:
10
+ src: /hero.png
11
+ actions:
12
+ - theme: brand
13
+ text: 🚀 Get started
14
+ link: /guide/
15
+ - theme: alt
16
+ text: 💎 Ruby API
17
+ link: /guide/api-ruby
18
+ - theme: alt
19
+ text: 🍰 Formulas
20
+ link: https://fontist.org/formulas/
21
+ target: _self
22
+ ---
23
+
24
+ <!-- Excerpt from the Getting Started guide page. Try to keep it in sync! -->
25
+
26
+ ```sh
27
+ gem install fontist
28
+ ```
29
+
30
+ 💎 Don't have Ruby installed? You can [download Ruby from the official Ruby website](https://www.ruby-lang.org/en/downloads/).
31
+
32
+ Now you're ready to start using Fontist to install fonts on your machine! 🤩
33
+
34
+ ```sh
35
+ fontist install "Fira Code"
36
+ fontist install "Open Sans"
37
+ fontist install "Consolas"
38
+ ```
39
+
40
+ [📚 Read more in the Getting Started guide](/guide/)