Skip to content

Commit

Permalink
much better now
Browse files Browse the repository at this point in the history
  • Loading branch information
deathtrip committed Mar 26, 2022
1 parent 5408272 commit 410d1a7
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 56 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/buildpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,13 @@ jobs:
- name: render PKGBUILDs
run: ./mk/pkgbuilds.sh

- name: copy ttf-iosevka-term-custom-git PKGBUILD into build ctnr
- name: copy ttf-iosevka-custom-git PKGBUILD into build ctnr
run: |
buildah copy --chown dev ctnr pkgs/ttf-iosevka-term-custom-git /home/dev/ttf-iosevka-term-custom-git
buildah copy --chown dev ctnr pkgs/ttf-iosevka-custom-git /home/dev/ttf-iosevka-custom-git
- name: build and siphon ttf-iosevka-term-custom-git from build ctnr
- name: build and siphon ttf-iosevka-custom-git from build ctnr
run: |
buildah config -u dev --workingdir /home/dev/ttf-iosevka-term-custom-git ctnr
buildah run ctnr makepkg --noconfirm -s
buildah run ctnr ls -lh
pkg="$(buildah run ctnr sh -c "printf '%s\n' *.pkg.*")"
mkdir -p "${RUNNER_TEMP}/dist"
buildah run ctnr cat "$pkg" >"${RUNNER_TEMP}/dist/${pkg}"
printf '%s\n' "${RUNNER_TEMP}/dist/"
ls -lh "${RUNNER_TEMP}/dist/"
- name: copy ttf-iosevka-quasi-proportional-extension-only-custom-git PKGBUILD into build ctnr
run: |
buildah copy --chown dev ctnr pkgs/ttf-iosevka-quasi-proportional-extension-only-custom-git /home/dev/ttf-iosevka-quasi-proportional-extension-only-custom-git
- name: build and siphon ttf-iosevka-quasi-proportional-extension-only-custom-git from build ctnr
run: |
buildah config -u dev --workingdir /home/dev/ttf-iosevka-quasi-proportional-extension-only-custom-git ctnr
buildah config -u dev --workingdir /home/dev/ttf-iosevka-custom-git ctnr
buildah run ctnr makepkg --noconfirm -s
buildah run ctnr ls -lh
Expand Down
64 changes: 33 additions & 31 deletions templates/private-build-plans.toml.wz
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
@require(charvars, spacings)
@#
@for spacing in spacings:
@(
plan='-'.join(filter(None, ('iosevka', spacing, 'custom')))
family=plan.replace('-', ' ').title()
)\
@#
[buildPlans.@plan]
family = "@family"
export-glyph-names = true
@if spacing:
spacing = "@spacing"
@end
[buildPlans.iosevka-custom]
family = "Iosevka Custom"
spacing = "term"
serifs = "slab"
no-cv-ss = true

[buildPlans.@{plan}.ligations]
inherits = "dlig"
# disables = []
# enables = []
[buildPlans.iosevka-custom.variants.design]
capital-c = "unilateral-serifed"
capital-g = "toothless-rounded-serifed-hooked"
capital-i = "short-serifed"
capital-j = "serifed-symmetric"
d = "toothed-top-serifed"
f = "flat-hook-serifed"
w = "straight-flat-top"
long-s = "flat-hook"
eszet = "sulzbacher-descending"
cyrl-capital-ka = "straight-serifed"
cyrl-ka = "straight-serifed"
two = "straight-neck"
three = "two-arcs"
four = "closed"
five = "vertical-upper-left-bar"
six = "closed-contour"
seven = "bend-serifed"
eight = "two-circles"
nine = "closed-contour"
asterisk = "hex-low"
brace = "straight"
at = "fourfold"
percent = "rings-continuous-slash"
punctuation-dot = "square"
diacritic-dot = "square"

# [buildPlans.@{plan}.variants]
# inherits = "ss16"
[buildPlans.iosevka-custom.ligations]
inherits = "dlig"

[buildPlans.@{plan}.variants.design]
@for char, style in charvars.items():
@char = "@style"
@end

# Override above variants for each slope:
# [buildPlans.@{plan}.variants.upright]
# [buildPlans.@{plan}.variants.italic]
# [buildPlans.@{plan}.variants.oblique]

@end
6 changes: 3 additions & 3 deletions vars.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
build:
# - ttf-iosevka-git
# - ttf-iosevka-custom-git
- ttf-iosevka-term-custom-git
- ttf-iosevka-custom-git
# - ttf-iosevka-term-custom-git
# - ttf-iosevka-fontconfig-mono-custom-git
# - ttf-iosevka-fixed-custom-git
# - ttf-iosevka-quasi-proportional-custom-git
- ttf-iosevka-quasi-proportional-extension-only-custom-git
# - ttf-iosevka-quasi-proportional-extension-only-custom-git
spacings:
- '' # some wide glyphs
- term # fewer wide glyphs
Expand Down

0 comments on commit 410d1a7

Please sign in to comment.