Начало
This commit is contained in:
commit
c65a4795a6
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
dist
|
||||||
|
|
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
== Iosevka Prog
|
||||||
|
|
||||||
|
Скрипт для сборки шрифта Iosevka Prog, похожего на [PragmataPro](https://fsd.it/shop/fonts/pragmatapro/).
|
||||||
|
Для работы требуется установка [Docker](https://www.docker.com/).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo apt-get install docker.io
|
||||||
|
```
|
||||||
|
|
17
build-iosevka-prog-font.sh
Executable file
17
build-iosevka-prog-font.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FILE=$( readlink -f "${BASH_SOURCE[0]}" )
|
||||||
|
DIR=$( dirname ${FILE} )
|
||||||
|
CONFIG="${DIR}/private-build-plans.toml"
|
||||||
|
|
||||||
|
if [ -r "${CONFIG}" ]; then
|
||||||
|
if command -v docker; then
|
||||||
|
sudo docker run -it -v $(pwd):/build avivace/iosevka-build -- ttf::iosevka-prog
|
||||||
|
sudo chown -R $(id -u):$(id -g) "${DIR}/dist"
|
||||||
|
else
|
||||||
|
echo "Docker executable not found"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "Can't read config file ${CONFIG}"
|
||||||
|
fi
|
||||||
|
|
30
private-build-plans.toml
Normal file
30
private-build-plans.toml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
[buildPlans.iosevka-prog]
|
||||||
|
family = "Iosevka Prog"
|
||||||
|
spacing = "fontconfig-mono"
|
||||||
|
serifs = "sans"
|
||||||
|
no-cv-ss = true
|
||||||
|
no-ligation = true
|
||||||
|
|
||||||
|
[buildPlans.iosevka-prog.variants]
|
||||||
|
inherits = "ss08"
|
||||||
|
|
||||||
|
[buildPlans.iosevka-prog.weights.thin]
|
||||||
|
shape = 100
|
||||||
|
menu = 100
|
||||||
|
css = 100
|
||||||
|
|
||||||
|
[buildPlans.iosevka-prog.weights.regular]
|
||||||
|
shape = 400
|
||||||
|
menu = 400
|
||||||
|
css = 400
|
||||||
|
|
||||||
|
[buildPlans.iosevka-prog.weights.bold]
|
||||||
|
shape = 700
|
||||||
|
menu = 700
|
||||||
|
css = 700
|
||||||
|
|
||||||
|
[buildPlans.iosevka-prog.widths.normal]
|
||||||
|
shape = 450
|
||||||
|
menu = 5
|
||||||
|
css = "normal"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user