Skip to content

Commit

Permalink
Allow Zeta to share variants with Z (be5invis#827).
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Jan 25, 2021
1 parent b802373 commit 4aff8d3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-plans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,12 @@ css = "normal"

[buildPlans.iosevka-QP]
family = "Iosevka QP"
desc = "Customizer Preview Only Quasi-prioirtional Sans"
desc = "Customizer Preview Only Quasi-proportional Sans"
spacing = "quasi-proportional"

[buildPlans.iosevka-QP-slab]
family = "Iosevka QP Slab"
desc = "Customizer Preview Only Quasi-prioirtional Slab"
desc = "Customizer Preview Only Quasi-proportional Slab"
serifs = 'slab'
spacing = "quasi-proportional"

Expand Down
3 changes: 2 additions & 1 deletion changes/5.0.0-beta.2.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* Fix broken curly variants of `x` and `X` (#824).
* Add compact-serifed and compact-top-serifed variants of `r` (#826).
* Add compact-serifed and compact-top-serifed variants of `r` (#826).
* Allow Zeta to share variants with `Z` (#827).
9 changes: 8 additions & 1 deletion font-src/glyphs/letter/latin/z.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@ glyph-block Letter-Latin-Z : begin
select-variant 'Z' 'Z'
select-variant 'z' 'z'

alias 'grek/Zeta' 0x396 'Z.standard'
alias 'grek/Zeta.standard' null 'Z.standard'
alias 'grek/Zeta.curly' null 'Z.curly'
alias 'grek/Zeta.motionSerifed' null 'Z.motionSerifed'
alias 'grek/Zeta.curlyMotionSerifed' null 'Z.curlyMotionSerifed'
alias 'grek/Zeta.topMotionSerifed' null 'Z.topMotionSerifed'
alias 'grek/Zeta.curlyTopMotionSerifed' null 'Z.curlyTopMotionSerifed'
select-variant 'grek/Zeta' 0x396

alias 'Zbar' 0x1B5 'Z.withHorizontalCrossBar'
alias 'zbar' 0x1B6 'z.withHorizontalCrossBar'

Expand Down
12 changes: 11 additions & 1 deletion params/variants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -747,55 +747,65 @@ tag = 'cv23'
rank = 1
description = 'Standard `Z`'
selector.Z = 'standard'
selector."grek/Zeta" = 'standard'

[prime.capital-z.variants.with-crossbar]
rank = 2
nonDeriving = true
description = 'Standard `Z` with a diagonal cross bar for better dsitinction with `2`'
selector.Z = 'withCrossBar'
selector."grek/Zeta" = 'standard'

[prime.capital-z.variants.with-horizontal-crossbar]
rank = 3
nonDeriving = true
description = 'Standard `Z` with a horizontal cross bar for better dsitinction with `2`'
selector.Z = 'withHorizontalCrossBar'
selector."grek/Zeta" = 'standard'

[prime.capital-z.variants.curly]
rank = 4
description = 'Curly `Z`'
selector.Z = 'curly'
selector."grek/Zeta" = 'curly'

[prime.capital-z.variants.curly-with-crossbar]
rank = 5
nonDeriving = true
description = 'Curly `Z` with a diagonal cross bar for better dsitinction with `2`'
selector.Z = 'curlyWithCrossBar'
selector."grek/Zeta" = 'curly'

[prime.capital-z.variants.curly-with-horizontal-crossbar]
rank = 6
nonDeriving = true
description = 'Curly `Z` with a horizontal cross bar for better dsitinction with `2`'
selector.Z = 'curlyWithHorizontalCrossBar'
selector."grek/Zeta" = 'curly'

[prime.capital-z.variants.motion-serifed]
rank = 7
description = 'Standard `Z` with motion serifs at bottom'
selector.Z = 'motionSerifed'
selector."grek/Zeta" = 'motionSerifed'

[prime.capital-z.variants.curly-motion-serifed]
rank = 8
description = 'Curly `Z` with motion serifs at bottom'
selector.Z = 'curlyMotionSerifed'
selector."grek/Zeta" = 'curlyMotionSerifed'

[prime.capital-z.variants.top-motion-serifed]
rank = 9
description = 'Standard `Z` with motion serifs at top'
selector.Z = 'topMotionSerifed'
selector."grek/Zeta" = 'topMotionSerifed'

[prime.capital-z.variants.curly-top-motion-serifed]
rank = 10
description = 'Curly `Z` with motion serifs at top'
selector.Z = 'curlyTopMotionSerifed'
selector."grek/Zeta" = 'curlyTopMotionSerifed'



Expand Down Expand Up @@ -1805,7 +1815,7 @@ description = 'Compact, serifless `r`'
selector.r = "compactTopSerifed"
selector.rrtail = "compactSerifed"
selector."turnrrtail" = "compactSerifed"
selector."rflap" = "compactSerifed"
selector."rflap" = "compact"



Expand Down

0 comments on commit 4aff8d3

Please sign in to comment.