Add variant selector for "f"
This commit is contained in:
parent
ac4d01371e
commit
93899b40b3
4 changed files with 19 additions and 8 deletions
|
@ -23,3 +23,4 @@ You can join them in supporting Iosevka development by [pledging on Patreon](htt
|
|||
- Winnie Quinn
|
||||
- Clemens
|
||||
- Pascal
|
||||
- Kevin Sidarous
|
|
@ -2680,7 +2680,7 @@ export : define [apply] : begin
|
|||
|
||||
save 'iviby' 0x285
|
||||
define fbar : XH * 0.91 + STROKE * 0.25
|
||||
sketch # f.upright
|
||||
sketch # f.straight
|
||||
local fovershoot2 (O * 2)
|
||||
include markset.b
|
||||
local barleft : [mix SB RIGHTSB 0.35] - STROKE * 0.25 * HVCONTRAST
|
||||
|
@ -2699,19 +2699,19 @@ export : define [apply] : begin
|
|||
flat ([mix SB RIGHTSB 0.02] + HALFSTROKE * TANSLANT) 0
|
||||
curl ([mix SB RIGHTSB 0.875] + HALFSTROKE * TANSLANT) 0
|
||||
|
||||
save 'f.upright'
|
||||
save 'f.straight'
|
||||
save 'lenisf' 0xAB35
|
||||
|
||||
sketch # fltail
|
||||
sketch # tailed
|
||||
include glyphs.'longs.italic' AS_BASE
|
||||
include : dispiro
|
||||
widths.rhs
|
||||
flat (MIDDLE - LONGJUT - HALFSTROKE * TANSLANT) fbar
|
||||
curl (MIDDLE + LONGJUT - HALFSTROKE * TANSLANT) fbar
|
||||
save 'f.italic'
|
||||
save 'f.tailed'
|
||||
save 'fltail' 0x192
|
||||
|
||||
italic-variant 'f' 'f'
|
||||
select-variant 'f' 'f'
|
||||
turned 'turnf' 0x25F 'f' MIDDLE (XH / 2) markset.p
|
||||
|
||||
local shift (-(WIDTH * 0.055 + SB * 0.5))
|
||||
|
|
|
@ -5,7 +5,7 @@ import [mix linreg clamp fallback] from '../support/utils'
|
|||
# Parameter generation
|
||||
export : define [calculateMetrics para] : begin
|
||||
define UPM 1000
|
||||
|
||||
|
||||
# Key metrics
|
||||
define WIDTH para.width
|
||||
define SB para.sb
|
||||
|
|
|
@ -207,6 +207,14 @@ tag = "cv50"
|
|||
one = "serifed"
|
||||
tag = "cv51"
|
||||
|
||||
[simple.v-f-straight]
|
||||
f = "straight"
|
||||
tag = "cv52"
|
||||
|
||||
[simple.v-f-tailed]
|
||||
f = "tailed"
|
||||
tag = "cv53"
|
||||
|
||||
[simple.others]
|
||||
I = 'serifed'
|
||||
J = 'serifed'
|
||||
|
@ -237,14 +245,16 @@ upright = [
|
|||
'v-i-serifed',
|
||||
'v-l-serifed',
|
||||
'v-g-doublestorey',
|
||||
'v-y-straight'
|
||||
'v-y-straight',
|
||||
'v-f-straight'
|
||||
]
|
||||
italic = [
|
||||
'v-a-singlestorey',
|
||||
'v-i-italic',
|
||||
'v-l-italic',
|
||||
'v-g-singlestorey',
|
||||
'v-y-curly'
|
||||
'v-y-curly',
|
||||
'v-f-tailed'
|
||||
]
|
||||
|
||||
[composite.slab]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue