Сборка версии 17.0.2

This commit is contained in:
Andrei Astafev 2023-01-12 10:52:55 +03:00
parent 9d5a398e09
commit d0c6ff6e98
4 changed files with 21 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
dist dist
package-lock.json

View File

@ -1,7 +1,8 @@
# Iosevka Prog # Iosevka Prog
Скрипт для сборки шрифта Iosevka Prog, похожего на [PragmataPro](https://fsd.it/shop/fonts/pragmatapro/). Скрипт для сборки шрифта Iosevka Prog, похожего на [PragmataPro](https://fsd.it/shop/fonts/pragmatapro/).
Для работы требуется установка [Docker](https://www.docker.com/). В основе лежит шрифт [Iosevka](https://github.com/be5invis/Iosevka/).
Для сборки требуется установка [Docker](https://www.docker.com/):
```sh ```sh
sudo apt-get install docker.io sudo apt-get install docker.io

View File

@ -1,13 +1,14 @@
#!/bin/bash #!/bin/bash
IOSEVKA_VERSION="17.0.2"
FILE=$( readlink -f "${BASH_SOURCE[0]}" ) FILE=$( readlink -f "${BASH_SOURCE[0]}" )
DIR=$( dirname ${FILE} ) DIR=$( dirname "${FILE}" )
CONFIG="${DIR}/private-build-plans.toml" CONFIG="${DIR}/private-build-plans.toml"
if [ -r "${CONFIG}" ]; then if [ -r "${CONFIG}" ]; then
if command -v docker; then if command -v docker >/dev/null 2>&1; then
sudo docker run -it -v $(pwd):/build avivace/iosevka-build -- ttf::iosevka-prog sudo docker run -e FONT_VERSION="${IOSEVKA_VERSION}" -it -v "$(pwd)":/build avivace/iosevka-build -- ttf::iosevka-prog
sudo chown -R $(id -u):$(id -g) "${DIR}/dist" sudo chown -R "$(id -u)":"$(id -g)" "${DIR}/dist"
else else
echo "Docker executable not found" echo "Docker executable not found"
fi fi

View File

@ -2,11 +2,21 @@
family = "Iosevka Prog" family = "Iosevka Prog"
spacing = "fontconfig-mono" spacing = "fontconfig-mono"
serifs = "sans" serifs = "sans"
no-cv-ss = true no-cv-ss = false
no-ligation = true no-ligation = true
export-glyph-names = true
[buildPlans.iosevka-prog.variants] [buildPlans.iosevka-prog.variants]
inherits = "ss08" inherits = "ss08"
[buildPlans.iosevka-prog.metric-override]
sb = 55
leading = 1200
[buildPlans.iosevka-prog.widths.normal]
shape = 420
menu = 5
css = "normal"
[buildPlans.iosevka-prog.weights.thin] [buildPlans.iosevka-prog.weights.thin]
shape = 100 shape = 100
@ -23,8 +33,3 @@ shape = 700
menu = 700 menu = 700
css = 700 css = 700
[buildPlans.iosevka-prog.widths.normal]
shape = 450
menu = 5
css = "normal"