mirror of
https://github.com/pnx/dotfiles
synced 2026-07-02 22:43:41 +02:00
Adding fonts/Iosevka
This commit is contained in:
parent
fdda907f3c
commit
10ccc9560d
6 changed files with 123 additions and 0 deletions
1
fonts/Iosevka/.gitignore
vendored
Normal file
1
fonts/Iosevka/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.build
|
||||||
25
fonts/Iosevka/Makefile
Normal file
25
fonts/Iosevka/Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
IOSEVKA_GIT=https://github.com/be5invis/Iosevka.git
|
||||||
|
FONT_NAME=IosevkaCustom
|
||||||
|
BUILD_DIR=.build
|
||||||
|
INSTALL_DIR ?= ~/.local/share/fonts
|
||||||
|
|
||||||
|
.phony = install
|
||||||
|
|
||||||
|
build: $(BUILD_DIR) \
|
||||||
|
$(BUILD_DIR)/node_modules \
|
||||||
|
$(BUILD_DIR)/private-build-plans.toml
|
||||||
|
cd $(BUILD_DIR); npm run build -- ttf::$(FONT_NAME)
|
||||||
|
install -m 644 $(BUILD_DIR)/dist/$(FONT_NAME)/TTF/*.ttf dist
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -m 644 dist/*.ttf $(INSTALL_DIR)
|
||||||
|
|
||||||
|
$(BUILD_DIR) :
|
||||||
|
git clone --depth 1 $(IOSEVKA_GIT) $(BUILD_DIR)
|
||||||
|
|
||||||
|
$(BUILD_DIR)/node_modules :
|
||||||
|
cd $(BUILD_DIR); npm install
|
||||||
|
|
||||||
|
$(BUILD_DIR)/private-build-plans.toml : config.toml
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
94
fonts/Iosevka/config.toml
Normal file
94
fonts/Iosevka/config.toml
Normal file
|
|
@ -0,0 +1,94 @@
|
||||||
|
[buildPlans.IosevkaCustom]
|
||||||
|
family = "IosevkaCustom"
|
||||||
|
spacing = "normal"
|
||||||
|
serifs = "sans"
|
||||||
|
noCvSs = true
|
||||||
|
exportGlyphNames = false
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.variants]
|
||||||
|
inherits = "ss12"
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.variants.design]
|
||||||
|
one = "base"
|
||||||
|
two = "straight-neck-serifless"
|
||||||
|
four = "semi-open-serifless"
|
||||||
|
five = "upright-arched-serifless"
|
||||||
|
six = "closed-contour"
|
||||||
|
seven = "bend-serifless"
|
||||||
|
eight = "crossing"
|
||||||
|
nine = "straight-bar"
|
||||||
|
zero = "slashed"
|
||||||
|
capital-d = "standard-serifless"
|
||||||
|
capital-g = "toothless-corner-serifless-hooked"
|
||||||
|
capital-m = "flat-bottom-serifless"
|
||||||
|
capital-q = "crossing"
|
||||||
|
capital-r = "straight-serifless"
|
||||||
|
capital-w = "straight-flat-top-serifless"
|
||||||
|
a = "single-storey-earless-corner-serifless"
|
||||||
|
f = "flat-hook-serifless-crossbar-at-x-height"
|
||||||
|
g = "single-storey-flat-hook-earless-corner"
|
||||||
|
i = "serifed"
|
||||||
|
j = "flat-hook-serifless"
|
||||||
|
l = "serifed"
|
||||||
|
m = "earless-corner-double-arch-serifless"
|
||||||
|
t = "flat-hook"
|
||||||
|
w = "straight-flat-top-serifless"
|
||||||
|
y = "straight-serifless"
|
||||||
|
lower-eth = "straight-bar"
|
||||||
|
tittle = "square"
|
||||||
|
diacritic-dot = "square"
|
||||||
|
punctuation-dot = "square"
|
||||||
|
braille-dot = "square"
|
||||||
|
asterisk = "turn-hex-low"
|
||||||
|
underscore = "high"
|
||||||
|
brace = "curly"
|
||||||
|
number-sign = "upright"
|
||||||
|
question = "corner-flat-hooked"
|
||||||
|
pilcrow = "high"
|
||||||
|
lig-ltgteq = "slanted"
|
||||||
|
lig-equal-chain = "without-notch"
|
||||||
|
lig-hyphen-chain = "without-notch"
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.weights.Regular]
|
||||||
|
shape = 400
|
||||||
|
menu = 400
|
||||||
|
css = 400
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.weights.SemiBold]
|
||||||
|
shape = 600
|
||||||
|
menu = 600
|
||||||
|
css = 600
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.widths.Normal]
|
||||||
|
shape = 500
|
||||||
|
menu = 5
|
||||||
|
css = "normal"
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.slopes.Upright]
|
||||||
|
angle = 0
|
||||||
|
shape = "upright"
|
||||||
|
menu = "upright"
|
||||||
|
css = "normal"
|
||||||
|
|
||||||
|
[buildPlans.IosevkaCustom.ligations]
|
||||||
|
disables = [
|
||||||
|
"slash-asterisk",
|
||||||
|
"trig"
|
||||||
|
]
|
||||||
|
# enables = [
|
||||||
|
# "arrow-l",
|
||||||
|
# "arrow-r",
|
||||||
|
# "eqeq",
|
||||||
|
# "eqeqeq",
|
||||||
|
# "exeq",
|
||||||
|
# "exeqeq",
|
||||||
|
# "exeqeqeq",
|
||||||
|
# "lteq",
|
||||||
|
# "gteq",
|
||||||
|
# "ltgt-ne",
|
||||||
|
# "llgg",
|
||||||
|
# "llggeq",
|
||||||
|
# # "kern-dotty",
|
||||||
|
# # "kern-bars",
|
||||||
|
# "html-comment"
|
||||||
|
# ]
|
||||||
3
fonts/Iosevka/deps.sh
Executable file
3
fonts/Iosevka/deps.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo dnf install ttfautohint fontforge python3-fontforge
|
||||||
BIN
fonts/Iosevka/dist/IosevkaCustom-Regular.ttf
vendored
Normal file
BIN
fonts/Iosevka/dist/IosevkaCustom-Regular.ttf
vendored
Normal file
Binary file not shown.
BIN
fonts/Iosevka/dist/IosevkaCustom-SemiBold.ttf
vendored
Normal file
BIN
fonts/Iosevka/dist/IosevkaCustom-SemiBold.ttf
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue