Move custom Iosevka build plan into own file

Update some more glyphs for Iosevka
This commit is contained in:
Evie Litherland-Smith 2024-03-02 13:16:48 +00:00
parent f7fe528184
commit c360986e19
2 changed files with 58 additions and 46 deletions

57
system/iosevka.nix Normal file
View file

@ -0,0 +1,57 @@
{
noCvSs = true;
exportGlyphNames = false;
ligations.inherits = "dlig";
weights = {
Regular = {
shape = 400;
menu = 400;
css = 400;
};
Bold = {
shape = 700;
menu = 700;
css = 700;
};
};
variants.design = {
capital-g = "toothless-corner-serifless-hooked";
capital-j = "serifed-both-sides";
capital-q = "crossing";
capital-r = "curly-serifless";
e = "rounded";
f = "tailed";
g = "double-storey-open";
i = "serifless";
j = "serifless";
k = "cursive-serifless";
l = "tailed";
q = "diagonal-tailed-serifless";
y = "cursive-serifless";
z = "straight-serifless-with-horizontal-crossbar";
lower-delta = "flat-top";
lower-lambda = "tailed-turn";
lower-xi = "flat-top";
lower-chi = "semi-chancery-straight";
zero = "tall-slashed";
one = "no-base";
two = "straight-neck";
three = "flat-top";
four = "semi-open";
five = "oblique-arched";
six = "open-contour";
seven = "bend-serifless-crossbar";
eight = "two-circles";
nine = "open-contour";
ampersand = "closed";
at = "fourfold";
percent = "dots";
lig-ltgteq = "flat";
lig-neq = "more-slanted";
lig-equal-chain = "without-notch";
lig-hyphen-chain = "without-notch";
lig-plus-chain = "without-notch";
lig-double-arrow-bar = "without-notch";
lig-single-arrow-bar = "without-notch";
};
}

View file

@ -26,52 +26,7 @@
name = "Catppuccin-${catppuccinVariant}-Dark-Cursors"; name = "Catppuccin-${catppuccinVariant}-Dark-Cursors";
}; };
fonts = let fonts = let
iosevkaCustomBuildPlan = { iosevkaCustomBuildPlan = import ./iosevka.nix;
noCvSs = false;
exportGlyphNames = false;
ligations.inherits = "dlig";
# variants.inherits = "ss05";
weights = {
Regular = {
shape = 400;
menu = 400;
css = 400;
};
Bold = {
shape = 700;
menu = 700;
css = 700;
};
};
variants.design = {
capital-q = "crossing-curly-tailed";
e = "rounded";
f = "tailed";
g = "double-storey-open";
i = "tailed";
k = "cursive-serifless";
l = "tailed-serifed";
t = "bent-hook-asymmetric";
v = "curly-serifless";
w = "curly-serifless";
x = "curly-serifless";
y = "straight-turn-serifless";
lower-lambda = "tailed-turn";
lower-xi = "flat-top";
lower-chi = "semi-chancery-curly";
zero = "tall-slashed";
three = "flat-top";
six = "straight-bar";
seven = "straight-serifless-crossbar";
eight = "crossing-asymmetric";
nine = "straight-bar";
ampersand = "upper-open";
at = "fourfold";
cent = "through";
percent = "rings-segmented-slash";
lig-ltgteq = "flat";
};
};
in { in {
sizes = { sizes = {
applications = 16; applications = 16;