Skip to content

Commit 28de35f

Browse files
committedApr 28, 2021
feat: add Viosevka build plan
1 parent 0d0b0b9 commit 28de35f

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
 

‎build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,16 @@ download() {
4343
}
4444

4545
build() {
46+
cp viosevka.toml $DIR/private-build-plans.toml
47+
4648
cd $DIR
4749
cmd npm
4850

4951
log "Installing NPM dependencies."
5052
npm install
5153

5254
log "Building default font."
53-
npm run build -- ttf::iosevka
55+
npm run build -- ttf::viosevka
5456
}
5557

5658
main() {

‎viosevka.toml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[buildPlans.viosevka]
2+
family = "Viosevka"
3+
spacing = "normal"
4+
serifs = "slab"
5+
no-cv-ss = true
6+
7+
[buildPlans.viosevka.variants.design]
8+
capital-g = "toothless-corner-inward-serifed-capped"
9+
capital-j = "serifed-both-sides"
10+
capital-k = "curly"
11+
capital-q = "crossing"
12+
capital-r = "curly"
13+
a = "single-storey-motion-serifed"
14+
g = "double-storey"
15+
k = "curly"
16+
lower-iota = "zshaped"
17+
lower-lambda = "curly-turn"
18+
cyrl-ka = "curly"
19+
three = "flattop"
20+
six = "closed-contour"
21+
seven = "bend-serifed"
22+
eight = "two-circles"
23+
nine = "closed-contour"
24+
asterisk = "hex-low"
25+
underscore = "above-baseline"
26+
paragraph-sign = "low"
27+
paren = "flat-arc"
28+
brace = "straight"
29+
ampersand = "upper-open"
30+
at = "short"
31+
dollar = "open"
32+
cent = "open"
33+
percent = "rings-continuous-slash"
34+
lig-ltgteq = "slanted"
35+
question = "corner"
36+
37+
[buildPlans.viosevka.ligations]
38+
inherits = "dlig"

0 commit comments

Comments
 (0)