Added instructions for font installation and stylized building.

This commit is contained in:
be5invis 2015-11-10 05:45:07 +08:00
parent 51719ae1fc
commit 5d21865c44
2 changed files with 45 additions and 1 deletions

View File

@ -5,6 +5,19 @@ Coders' typeface, built from code.
![preview](http://ooo.0o0.ooo/2015/10/21/5627399ca9f60.png)
Installation
------------
Quit your editor/program. Unzip and open the folder.
* **Mac + Linux (with font-viewer)** : Select the .ttf files and double click → Follow the on-screen guide.
* **Windows** : Right click the .ttf files → Install.
* **Linux (manually)** : Copy the .ttf files to your fonts-directory → Run `sudo fc-cache`.
**Detailed Instructions**
[How to](http://www.howtogeek.com/192980/how-to-install-remove-and-manage-fonts-on-windows-mac-and-linux/) Install, Remove, and Manage Fonts on Windows, Mac, and Linux
[Ubuntu Wiki](https://wiki.ubuntu.com/Fonts#Manually)
Building
--------
@ -16,3 +29,26 @@ To build Iosevka you should:
4. `make`.
You will find ttfs in the `build/` directory.
Build your own style
--------------------
![](https://cloud.githubusercontent.com/assets/240091/10895370/cc80f088-81ee-11e5-919b-a6daefdbc3f0.png)
Iosevka comes with several visual styles, however they are inactive using the default build. To build these variants you should use style variables in the `make` procedure:
* `STYLE_COMMON` for both upright and italics,
* `STYLE_UPRIGHT` for upright only, and
* `STYLE_ITALICS` for itaics only.
The current avaliable styles are:
* Styles for letter `l`:
* `v-l-hooky` : Hooky `l`
* `v-l-zshaped` : Z-shaped `l`
* `v-l-serifed` : Serifed `l`
* `v-l-italic` : Italic `l`
* Styles for letter `i`:
* `v-i-hooky` : Hooky `i`
* `v-i-zshaped` : Z-shaped `i`
* `v-i-serifed` : Serifed `i`
* `v-l-italic` : Italic `i`

View File

@ -136,4 +136,12 @@ dotlessi = 'hooky'
[v-l-zshaped.variantSelector]
l = 'zshaped'
[v-i-zshaped.variantSelector]
dotlessi = 'zshaped'
dotlessi = 'zshaped'
[v-l-serifed.variantSelector]
l = 'serifed'
[v-i-serifed.variantSelector]
dotlessi = 'serifed'
[v-l-italic.variantSelector]
l = 'italic'
[v-i-italic.variantSelector]
dotlessi = 'italic'