Skip to content

Commit

Permalink
Add variant selector for /seven
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Aug 31, 2019
1 parent 58152d2 commit b789f17
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 7 additions & 2 deletions glyphs/numbers.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,14 @@ export : define [apply] : begin
line-to RIGHTSB (CAP - STROKE)
line-to (RIGHTSB - STROKE * cor) (CAP - STROKE)
reverse-last
if SLAB : begin
branch
if SLAB : include : DownwardLeftSerif (SB + OXE) CAP VJUT
save 'seven.normal'
branch
include : DownwardLeftSerif (SB + OXE) CAP VJUT
save 'seven' '7'
save 'seven.force-serifed'

select-variant 'seven' '7'

local pr : linreg 18 0.85 120 0.975 STROKE

Expand Down
9 changes: 9 additions & 0 deletions variants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,14 @@ r = "narrow"
[simple.v-j-narrow]
dotlessj = "narrow"

[simple.v-seven-normal]
tag = "cv64"
seven = "normal"

[simple.v-seven-force-serifed]
tag = "cv65"
seven = "force-serifed"

[default]
design = [
'v-m-longleg',
Expand All @@ -316,6 +324,7 @@ design = [
'v-capital-i-serifed',
'v-capital-j-serifed',
'v-r-standard',
'v-seven-non-serifed',
'others'
]
upright = [
Expand Down

0 comments on commit b789f17

Please sign in to comment.