Add separate variant selector for capital Gamma (#849)

This commit is contained in:
be5invis 2021-01-29 19:10:43 -08:00
parent c4a7660acd
commit 2b2bbd7081
16 changed files with 154 additions and 106 deletions

View file

@ -76,8 +76,6 @@ glyph-block Letter-Latin-Lower-F : begin
alias 'esh' 0x283 'longs.italic'
orthographic-italic 'longs' 0x17F
orthographic-italic 'longsbar' 0x1E9D
create-glyph 'eshcurlytail' 0x286 : glyph-proc
include : MarkSet.if
@ -340,17 +338,23 @@ glyph-block Letter-Latin-Lower-F : begin
local barr RightSB
local hbarleft (SB + shift + Stroke * [if para.slopeAngle 0.5 0.25])
create-glyph 'f_i' 0xFB01 : glyph-proc
create-glyph 'f_i.upright' : glyph-proc
include : MarkSet.b
include : new-glyph : glyph-proc
include : refer-glyph "longs"
include : refer-glyph "longs.upright"
include : Translate shift 0
include : VBarRight barr 0 fbar
include : HBarTop hbarleft barr fbar
if SLAB : begin
if para.isItalic
: then : include : tagged 'serifRB' : RightwardBottomSerif barr 0 SideJut
: else : include : tagged 'serifRB' : CenterBottomSerif (barr - HalfStroke * HVContrast) 0 Jut
if SLAB : include : tagged 'serifRB' : CenterBottomSerif (barr - HalfStroke * HVContrast) 0 Jut
create-glyph 'f_i.italic' : glyph-proc
include : MarkSet.b
include : new-glyph : glyph-proc
include : refer-glyph "longs.italic"
include : Translate shift 0
include : VBarRight barr 0 fbar
include : HBarTop hbarleft barr fbar
if SLAB : include : tagged 'serifRB' : RightwardBottomSerif barr 0 SideJut
create-glyph 'f_l.upright' : glyph-proc
local m : Middle - JBalance - HalfStroke * HVContrast + shift
@ -376,5 +380,3 @@ glyph-block Letter-Latin-Lower-F : begin
include : VBarRight barr 0 CAP
include : HBarTop hbarleft [mix SB barr 0.65] fbar
if SLAB : include : tagged 'serifRB' : RightwardBottomSerif barr 0 SideJut
orthographic-italic 'f_l' 0xFB02