Coders’ typeface, built from code.
Chinese and Japanese users → Inziu Iosevka for Chinese and Japanese. (A hinted Composite with M+ and Source Han Sans.)
Installation
Quit your editor/program. Unzip and open the folder.
- Instructions for Windows
- Instructions for macOS
- Standard distribution in Homebrew:
brew tap caskroom/fonts && brew cask install font-iosevka
(May be outdated). - Customizable install using Homebrew: see robertgzr/homebrew-tap.
- Standard distribution in Homebrew:
- Linux : Copy the TTF files to your fonts directory → Run
sudo fc-cache
.- Arch Linux users can install the font from the AUR here using an AUR wrapper or by doing it manually. All variants.
- Void Linux users can install the font with
xbps-install font-iosevka
.
Weights, Variants and OpenType features
The typeface contains seven weights (thin, extra-light, light, regular, medium, bold and heavy) alongside with both italic and oblique versions, with the same metrics as the regular one.
All versions include the same ranges of characters: Latin letters, Greek letters (including Polytonic), some Cyrillic letters, IPA symbols and common punctuations and some symbols. You can check out the full list here.
Iosevka supports accessing all letter variants using OpenType features.
Ligations
Iosevka’s default ligation set is assigned to calt
feature, though not all of them are enabled by default.
Iosevka supports Language-Specific Ligations, which is the ligation set enabled only under certain languages. These ligation sets are assigned to custom feature tags, like XHS0
.
Building from Source
To build Iosevka you should:
- Ensure that
nodejs
(≥ 8.4),ttfautohint
,otfcc
(≥ 0.9.3) and GNUmake
(≥ 4.1; BSDmake
may not work) are runnable in your terminal.- Windows users may need to install MinGW and make POSIX utilities accessible (
mkdir.exe
,cp.exe
,cat.exe
andrm.exe
, in particular) from Command Prompt. Utilities provided by Git for Windows or MSYS2 works fine.
- Windows users may need to install MinGW and make POSIX utilities accessible (
- Install necessary libs by
npm install
. If you’ve installed them, upgrade to the latest. make
(orgmake
).
You will find TTFs in the dist/
directory.
Building the Web Font
The webfonts/
directory is used to build Iosevka for web font uses. To build the web fonts you should:
- Build Iosevka.
- Ensure that
sfnt2woff
andwoff2_compress
are installed and runnable. - Run
make web
.
The web fonts will be generated into dist/iosevka/web
and dist/iosevka-slab/web
.
Build Your Own Style
Iosevka comes with several visual styles, however they are inactive using the default build. To build these variants, you should perform custom build:
make custom-config [set=<name>]
with the parameters listed below to create a configuration. Theset=<name>
part is optional, it will be set tocustom
when absent.make custom [set=<name>]
to acquire your custom font.make custom-web [set=<name>]
is for web fonts.
The first step, make custom-config
takes following parameters to set styles of your custom build. All of them are optional, and would default to Iosevka’s default configuration:
design='<styles>'
, styles for your custom font set.upright='<styles>'
, styles for uprights only.italic='<styles>'
, styles for italics only.oblique='<styles>'
, styles for obliques only.
You can add arbitrary styles for these variables.
You can also customize the font family and target weights:
family='<Font Family>'
, for a customized font family name.weights='<list of weights>'
, a space-separated list, indicates the specific weights needed to be built. The candidates are:thin
extralight
light
book
(regular)medium
bold
heavy
For example,
make custom-config upright='v-l-zshaped v-i-zshaped' family='Iosevka X' weights='book bold'
make custom
will create a variant with Z-shaped letter l
and i
for uprights, and it would be named as 'Iosevka X
' after installation, and only Regular and Bold weights would be created.
The current available styles for design
/upright
/italic
/oblique
options are:
- Styles for general shape:
sans
: Sans serif (default).slab
: Slab serif. When present, the family of your font would beIosevka Slab
.
- Styles related to ligations and spacing:
term
: Disable ligations and exact monospace. When this style is present, the font built will not contain ligatures, and its family name will be set to “Iosevka Term
”. In case of your OS or editor cannot handle ligatures correctly, you can disable ligations with it.termlig
: Similar toterm
, the font is exact monospace to makefontconfig
happy, while ligations are still present.type
: Make some symbols, like arrows (→
) and mathematical operators full-width.stress-fw
: When included, full-width characters varying formU+FF00
toU+FFFF
will be boxed to present a clear distinguish between ASCII and Full-width. The family name will be set to “Iosevka StFW
”.
- All registered
ss##
andcv##
feature tags, including:ss01
~ss10
: Predefined stylistic sets based on other Monospace fonts.cv01
~cv45
: Standalone character variants.
- Styles for ligation sets, include:
ligset-haskell
: Default ligation set would be assigned to Haskell.ligset-idris
: Default ligation set would be assigned to Idris.ligset-coq
: Default ligation set would be assigned to Coq.ligset-elm
: Default ligation set would be assigned to Elm.ligset-ml
: Default ligation set would be assigned to ML.ligset-fs
: Default ligation set would be assigned to F#.ligset-fstar
: Default ligation set would be assigned to F*.ligset-swift
: Default ligation set would be assigned to Swift.ligset-purescript
: Default ligation set would be assigned to PureScript.
- Styles for individual characters. They are easy-to-understand names of the
cv##
styles, including:- Styles for letter
l
:v-l-hooky
: Hookyl
.v-l-zshaped
: Z-shapedl
.v-l-serifed
: Serifedl
(default for upright and oblique).v-l-italic
: Italicl
(default for italic).v-l-tailed
:l
with a curved tail.v-l-hookybottom
:l
with a straight tail.
- Styles for letter
i
:v-i-hooky
: Hookyi
.v-i-zshaped
: Z-shapedi
.v-i-serifed
: Serifedi
(default for upright and oblique).v-i-italic
: Italici
(default for italic).
- Styles for letter
a
:v-a-doublestorey
: Double-storeya
(default for upright and oblique).v-a-singlestorey
: Single-storeya
(default for italic).
- Styles for letter
g
:v-g-doublestorey
: Double-storeyg
(default for upright and oblique).v-g-singlestorey
: Single-storeyg
(default for italic).v-g-opendoublestorey
: Open Double-storeyg
.
- Styles for letter
m
:v-m-longleg
:m
with long middle leg (default).v-m-shortleg
:m
with shorter middle leg.
- Styles for letter
t
:v-t-standard
: Standardt
shape (default).v-t-cross
: Futura-liket
shape.
- Styles for letter
Q
:v-q-taily
:Q
with a curly tail (default).v-q-straight
:Q
with a straight tail in the old versions.
- Styles for zero (
0
):v-zero-slashed
: Slashed Zero0
(default).v-zero-dotted
: Dotted Zero0
.v-zero-unslashed
: O-like0
.
- Styles for ASCII tilde (
~
), asterisk (*
), paragaraph(¶
), underscore (_
) and ASCII Caret (^):v-tilde-high
: Higher tilde~
.v-tilde-low
: Lower tilde~
(default).v-asterisk-high
: Higher asterisk*
(default).v-asterisk-low
: Lower asterisk*
.v-paragraph-high
: Higher paragraph symbol¶
(default).v-paragraph-low
: Lower paragraph symbol¶
.v-caret-high
: Higher circumflex^
(default).v-caret-low
: Lower circumflex^
.v-underscore-high
: Higher underscore_
(default).v-underscore-low
: Lower underscore_
.
- Styles for At (
@
):v-at-long
: The long, three-fold At symbol in Iosevka 1.7.x.v-at-fourfold
: The traditional, four-fold At symbol.v-at-short
: The shorter, Fira-like At symbol introduced in Iosevka 1.8.
- Styles for Eszet (
ß
):v-eszet-traditional
: Tratidional, Fraktur-like Eszet.v-eszet-sulzbacher
: A more modern, beta-like Eszet (default).
- Styles for curly brackets (
{}
):v-brace-straight
: More straight braces.v-brace-curly
: More curly braces (default).
- Styles for dollar symbol (
$
):v-dollar-open
: Dollar symbol with open contour.v-dollar-through
: Dollar symbol with strike-through vertical bar (default).
- Styles for Number sign (
#
):v-numbersign-upright
: Number sign with vertical bars (default).v-numbersign-slanted
: Number sign with slanted bars.
- Styles for letter