- Cyrillic Semi-soft Sign (`U+048C`, `U+048D`).
   - Cyrillic Ka with Stroke (`U+049E`, `U+049F`).
This commit is contained in:
be5invis 2021-05-08 22:20:04 -07:00
parent 0426c137d7
commit 2aa95f1948
4 changed files with 36 additions and 0 deletions

View file

@ -147,6 +147,14 @@ glyph-block Letter-Cyrillic-Yeri : begin
roundTailed { CyrlYeriRoundShape true }
cursiveTailed { CyrlYeriCursiveShape true }
define [YeriOverlayBar top] : begin
local stroke : AdviceStroke2 2 3 top
return : HOverlayBar
mix SB 0 0.7
mix SB RightSB 0.5
mix (top * 0.52 + stroke / 2) top 0.5
Math.min ((top - Stroke * 3) / 3) OverlayStroke
foreach { suffix { Yeri fTail } } [Object.entries YerConfig] : do
create-glyph "cyrl/Yeri.\(suffix)" : glyph-proc
include : MarkSet.capital
@ -154,6 +162,14 @@ glyph-block Letter-Cyrillic-Yeri : begin
create-glyph "cyrl/yeri.\(suffix)" : glyph-proc
include : MarkSet.e
include : Yeri XH
create-glyph "cyrl/YeriBar.\(suffix)" : glyph-proc
include : MarkSet.capital
include : Yeri CAP
include : YeriOverlayBar CAP
create-glyph "cyrl/yeriBar.\(suffix)" : glyph-proc
include : MarkSet.e
include : Yeri XH
include : YeriOverlayBar XH
create-glyph "cyrl/Yer.\(suffix)" : glyph-proc
include : MarkSet.capital
include : CyrYerShape Yeri CAP
@ -178,6 +194,8 @@ glyph-block Letter-Cyrillic-Yeri : begin
select-variant 'cyrl/yery' 0x44B
select-variant 'cyrl/Yeri' 0x42C
select-variant 'cyrl/yeri' 0x44C
select-variant 'cyrl/YeriBar' 0x48C
select-variant 'cyrl/yeriBar' 0x48D
create-glyph 'cyrl/Be' 0x411 : glyph-proc
include : MarkSet.capital

View file

@ -260,6 +260,10 @@ glyph-block Letter-Latin-K : begin
if slabBot : include : UpperKLBSerif slabTop CAP straightBar
create-derived "KDescender.\(suffix)" : KCyrlNormalDescender CAP straightBar slabTop slabBot
create-glyph "KBar.\(suffix)" : glyph-proc
include [refer-glyph "K.\(suffix)"] AS_BASE ALSO_METRICS
include : HOverlayBar [mix (SB + [KBalance slabTop straightBar]) 0 0.7] [mix (SB + [KBalance slabTop straightBar]) RightSB 0.5] [mix XH (CAP - [if slabTop Stroke 0]) 0.45]
create-glyph "grek/kappa.\(suffix)" : glyph-proc
include : MarkSet.e
include : VBarLeft (SB + [KBalance slabTop straightBar]) 0 XH
@ -327,6 +331,10 @@ glyph-block Letter-Latin-K : begin
CenterBottomSerif (SB + [KBalance slabTop straightBar] + HalfStroke * HVContrast) 0 Jut
create-derived "kDescender.\(suffix)" : KCyrlNormalDescender XH straightBar slabTop slabBot
create-glyph "kBar.\(suffix)" : glyph-proc
include [refer-glyph "k.\(suffix)"] AS_BASE ALSO_METRICS
include : HOverlayBar [mix (SB + [KBalance slabTop straightBar]) 0 0.7] [mix (SB + [KBalance slabTop straightBar]) RightSB 0.5] [mix XH (CAP - [if slabTop Stroke 0]) 0.45]
create-glyph "khooktop.\(suffix)" : glyph-proc
include : MarkSet.b
include : Legs XH straightBar slabTop slabBot
@ -336,6 +344,7 @@ glyph-block Letter-Latin-K : begin
select-variant 'K' 'K'
alias 'grek/Kappa' 0x39A 'K'
select-variant 'cyrl/KaStroke' 0x49E (shapeFrom -- 'KBar') (follow -- 'cyrl/Ka')
alias 'letterLike/kelvinSign' 0x212A 'K'
select-variant 'KDescender' 0x2C69 (follow -- 'K')
select-variant 'cyrl/Ka' 0x41A 'K' (shapeFrom -- 'K') (follow -- 'cyrl/Ka')
@ -343,6 +352,7 @@ glyph-block Letter-Latin-K : begin
select-variant 'k' 'k'
select-variant 'kDescender' 0x2C6A
select-variant 'cyrl/kaStroke' 0x49F (shapeFrom -- 'kBar') (follow -- 'cyrl/Ka')
select-variant 'grek/kappa' 0x3BA