Compare commits
No commits in common. "master" and "26.0.0" have entirely different histories.
4
Makefile
4
Makefile
@ -12,10 +12,10 @@ v:
|
|||||||
|
|
||||||
dist: $(BUILD_DIR)/iosevka-prog-$(V).tar.xz
|
dist: $(BUILD_DIR)/iosevka-prog-$(V).tar.xz
|
||||||
|
|
||||||
$(BUILD_DIR)/iosevka-prog-$(V).tar.xz: $(BUILD_DIR)/IosevkaProg/TTF/iosevka-prog-$(V)/*.ttf
|
$(BUILD_DIR)/iosevka-prog-$(V).tar.xz: $(BUILD_DIR)/iosevka-prog/ttf/iosevka-prog-$(V)/*.ttf
|
||||||
cd $(BUILD_DIR)/iosevka-prog/ttf/iosevka-prog-$(V); tar Jcf $(BUILD_DIR)/iosevka-prog-$(V).tar.xz *.ttf
|
cd $(BUILD_DIR)/iosevka-prog/ttf/iosevka-prog-$(V); tar Jcf $(BUILD_DIR)/iosevka-prog-$(V).tar.xz *.ttf
|
||||||
|
|
||||||
$(BUILD_DIR)/iosevka-prog-nerd-$(V).tar.xz: $(BUILD_DIR)/IosevkaProg/TTF/iosevka-prog-nerd-$(V)/*.ttf
|
$(BUILD_DIR)/iosevka-prog-nerd-$(V).tar.xz: $(BUILD_DIR)/iosevka-prog/ttf/iosevka-prog-nerd-$(V)/*.ttf
|
||||||
cd $(BUILD_DIR)/iosevka-prog/ttf/iosevka-prog-nerd-$(V); tar Jcf $(BUILD_DIR)/iosevka-prog-nerd-$(V).tar.xz *.ttf
|
cd $(BUILD_DIR)/iosevka-prog/ttf/iosevka-prog-nerd-$(V); tar Jcf $(BUILD_DIR)/iosevka-prog-nerd-$(V).tar.xz *.ttf
|
||||||
|
|
||||||
upload: dist
|
upload: dist
|
||||||
|
@ -13,5 +13,5 @@ sudo apt-get install docker.io python3-fonttools
|
|||||||
|
|
||||||
Сборка шрифта выполняется командой `make`, результат сохраняется в каталог `dist`.
|
Сборка шрифта выполняется командой `make`, результат сохраняется в каталог `dist`.
|
||||||
|
|
||||||
Готовый шрифт версии [31.6.1](../../../releases/download/31.6.1/iosevka-prog-31.6.1.tar.xz).
|
Готовый шрифт версии [26.0.0](../../../releases/download/26.0.0/iosevka-prog-26.0.0.tar.xz).
|
||||||
|
|
||||||
|
@ -2,32 +2,27 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
IOSEVKA_VERSION=31.6.1
|
IOSEVKA_VERSION=26.0.0
|
||||||
FONT_NAME=IosevkaProg
|
FONT_NAME=iosevka-prog
|
||||||
FILE=$( readlink -f "${BASH_SOURCE[0]}" )
|
FILE=$( readlink -f "${BASH_SOURCE[0]}" )
|
||||||
DIR=$( dirname "${FILE}" )
|
DIR=$( dirname "${FILE}" )
|
||||||
DIST="${DIR}/dist"
|
DIST="${DIR}/dist"
|
||||||
OBLIQUE="${DIST}/Oblique"
|
OBLIQUE="${DIST}/oblique"
|
||||||
REGULAR="${DIST}/Regular"
|
REGULAR="${DIST}/regular"
|
||||||
CONFIG="${DIR}/private-build-plans.toml"
|
CONFIG="${DIR}/private-build-plans.toml"
|
||||||
OUT_DIR="${DIST}/${FONT_NAME}/TTF"
|
OUT_DIR="${DIST}/${FONT_NAME}/ttf"
|
||||||
|
|
||||||
if [ -r "${CONFIG}" ]; then
|
if [ -r "${CONFIG}" ]; then
|
||||||
if command -v docker >/dev/null 2>&1; then
|
if command -v docker >/dev/null 2>&1; then
|
||||||
wget -c https://github.com/be5invis/Iosevka/archive/refs/tags/v${IOSEVKA_VERSION}.tar.gz
|
docker pull avivace/iosevka-build
|
||||||
tar axf v${IOSEVKA_VERSION}.tar.gz
|
docker pull nerdfonts/patcher
|
||||||
pushd Iosevka-${IOSEVKA_VERSION}/docker
|
docker run -e FONT_VERSION="${IOSEVKA_VERSION}" -it -v "$DIR":/build avivace/iosevka-build ttf::${FONT_NAME}
|
||||||
docker build -t=iosevka-builder .
|
|
||||||
popd
|
|
||||||
rm -rf Iosevka-${IOSEVKA_VERSION} v${IOSEVKA_VERSION}.tar.gz
|
|
||||||
docker pull cdalvaro/docker-nerd-fonts-patcher:latest
|
|
||||||
docker run -e FONT_VERSION="${IOSEVKA_VERSION}" -it -v "$DIR":/work iosevka-builder ttf::${FONT_NAME}
|
|
||||||
sudo chown -R "$(id -u)":"$(id -g)" "${DIST}"
|
sudo chown -R "$(id -u)":"$(id -g)" "${DIST}"
|
||||||
mkdir -p "${OBLIQUE}"
|
mkdir -p "${OBLIQUE}"
|
||||||
cp -af "${OUT_DIR}/${FONT_NAME}-Oblique.ttf" "${OBLIQUE}"
|
cp -af "${OUT_DIR}/${FONT_NAME}-oblique.ttf" "${OBLIQUE}"
|
||||||
docker run --rm -v "${OBLIQUE}":/in -v "${OUT_DIR}":/out nerdfonts/patcher --complete --adjust-line-height --makegroups 1
|
docker run --rm -v "${OBLIQUE}":/in -v "${OUT_DIR}":/out nerdfonts/patcher --complete --adjust-line-height --makegroups 1
|
||||||
mkdir -p "${REGULAR}"
|
mkdir -p "${REGULAR}"
|
||||||
cp -af "${OUT_DIR}/${FONT_NAME}-Regular.ttf" "${REGULAR}"
|
cp -af "${OUT_DIR}/${FONT_NAME}-regular.ttf" "${REGULAR}"
|
||||||
docker run --rm -v "${REGULAR}":/in -v "${OUT_DIR}":/out nerdfonts/patcher --complete --adjust-line-height --makegroups 1 --mono --removeligatures
|
docker run --rm -v "${REGULAR}":/in -v "${OUT_DIR}":/out nerdfonts/patcher --complete --adjust-line-height --makegroups 1 --mono --removeligatures
|
||||||
sudo chown -R "$(id -u)":"$(id -g)" "${DIST}"
|
sudo chown -R "$(id -u)":"$(id -g)" "${DIST}"
|
||||||
cd "${OUT_DIR}"
|
cd "${OUT_DIR}"
|
||||||
@ -37,7 +32,7 @@ if [ -r "${CONFIG}" ]; then
|
|||||||
mv Iosevka*Nerd*ttf "iosevka-prog-nerd-$IOSEVKA_VERSION"
|
mv Iosevka*Nerd*ttf "iosevka-prog-nerd-$IOSEVKA_VERSION"
|
||||||
tar acf "${DIST}/iosevka-prog-nerd-${IOSEVKA_VERSION}.tar.xz" "iosevka-prog-nerd-$IOSEVKA_VERSION"
|
tar acf "${DIST}/iosevka-prog-nerd-${IOSEVKA_VERSION}.tar.xz" "iosevka-prog-nerd-$IOSEVKA_VERSION"
|
||||||
mkdir -p "iosevka-prog-$IOSEVKA_VERSION"
|
mkdir -p "iosevka-prog-$IOSEVKA_VERSION"
|
||||||
mv Iosevka*ttf "iosevka-prog-$IOSEVKA_VERSION"
|
mv iosevka*ttf "iosevka-prog-$IOSEVKA_VERSION"
|
||||||
tar acf "${DIST}/iosevka-prog-${IOSEVKA_VERSION}.tar.xz" "iosevka-prog-$IOSEVKA_VERSION"
|
tar acf "${DIST}/iosevka-prog-${IOSEVKA_VERSION}.tar.xz" "iosevka-prog-$IOSEVKA_VERSION"
|
||||||
cd "${DIST}"
|
cd "${DIST}"
|
||||||
ln -s "iosevka-prog-nerd-${IOSEVKA_VERSION}.tar.xz" "fonts-iosevka-prog-nerd_${IOSEVKA_VERSION}.orig.tar.xz"
|
ln -s "iosevka-prog-nerd-${IOSEVKA_VERSION}.tar.xz" "fonts-iosevka-prog-nerd_${IOSEVKA_VERSION}.orig.tar.xz"
|
||||||
|
@ -1,34 +1,34 @@
|
|||||||
[buildPlans.IosevkaProg]
|
[buildPlans.iosevka-prog]
|
||||||
family = "Iosevka Prog"
|
family = "Iosevka Prog"
|
||||||
spacing = "fontconfig-mono"
|
spacing = "fontconfig-mono"
|
||||||
serifs = "sans"
|
serifs = "sans"
|
||||||
noCvSs = false
|
no-cv-ss = false
|
||||||
noLigation = true
|
no-ligation = true
|
||||||
exportGlyphNames = true
|
export-glyph-names = true
|
||||||
|
|
||||||
[buildPlans.IosevkaProg.variants]
|
[buildPlans.iosevka-prog.variants]
|
||||||
inherits = "ss08"
|
inherits = "ss08"
|
||||||
|
|
||||||
[buildPlans.IosevkaProg.metricOverride]
|
[buildPlans.iosevka-prog.metric-override]
|
||||||
sb = 55
|
sb = 55
|
||||||
leading = 1200
|
leading = 1200
|
||||||
|
|
||||||
[buildPlans.IosevkaProg.widths.Normal]
|
[buildPlans.iosevka-prog.widths.normal]
|
||||||
shape = 420
|
shape = 420
|
||||||
menu = 5
|
menu = 5
|
||||||
css = "normal"
|
css = "normal"
|
||||||
|
|
||||||
[buildPlans.IosevkaProg.weights.Thin]
|
[buildPlans.iosevka-prog.weights.thin]
|
||||||
shape = 100
|
shape = 100
|
||||||
menu = 100
|
menu = 100
|
||||||
css = 100
|
css = 100
|
||||||
|
|
||||||
[buildPlans.IosevkaProg.weights.Regular]
|
[buildPlans.iosevka-prog.weights.regular]
|
||||||
shape = 400
|
shape = 400
|
||||||
menu = 400
|
menu = 400
|
||||||
css = 400
|
css = 400
|
||||||
|
|
||||||
[buildPlans.IosevkaProg.weights.Bold]
|
[buildPlans.iosevka-prog.weights.bold]
|
||||||
shape = 700
|
shape = 700
|
||||||
menu = 700
|
menu = 700
|
||||||
css = 700
|
css = 700
|
||||||
|
Loading…
Reference in New Issue
Block a user