Add variant selectors for Greek lower Beta/Gamma/Nu/Upsilon. (#2451)

This commit is contained in:
John McWilliams 2024-08-01 20:30:15 -04:00 committed by GitHub
parent dc9d7f3ac2
commit 8f945312fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 173 additions and 21 deletions

View file

@ -186,8 +186,6 @@ glyph-block Letter-Latin-Upper-B : begin
alias 'cyrl/Ve' 0x412 'B'
select-variant 'BBar'
select-variant 'smcpBBar' 0x1D03
select-variant 'Bhookleft' 0x181
define [CursiveCyrveShape top] : glyph-proc
@ -220,11 +218,9 @@ glyph-block Letter-Latin-Upper-B : begin
include : MarkSet.b
include : CursiveCyrveShape Ascender
select-variant 'cyrl/ve' 0x432
select-variant 'smcpB' 0x299 (shapeFrom -- 'cyrl/ve')
alias 'grek/betaSymbol' 0x3D0 'cyrl/ve.cursiveTall'
alias 'cyrl/ve.BGR' null 'cyrl/ve.cursiveTall'
select-variant 'cyrl/ve' 0x432
select-variant 'smcpB' 0x299 (shapeFrom -- 'cyrl/ve')
select-variant 'smcpBBar' 0x1D03
create-glyph 'mathbb/B' 0x1D539 : glyph-proc
include : MarkSet.capital
@ -237,7 +233,7 @@ glyph-block Letter-Latin-Upper-B : begin
VBar.r ([mix SB RightSB BArcMix] - BBD - OX * 2) (CAP * BBarPos) CAP BBS
VBar.l (SB + BBD) 0 CAP BBS
create-glyph 'grek/beta' 0x3B2 : glyph-proc
create-glyph 'grek/beta.standard' : glyph-proc
include : MarkSet.bp
include : LeaningAnchor.Below.VBar.l SB
define pBar 0.55
@ -265,7 +261,13 @@ glyph-block Letter-Latin-Upper-B : begin
arch.rhs 0 (swAfter -- ShoulderFine)
g4.up.end (SB + HVContrast * (Stroke - ShoulderFine)) adb [widths.rhs ShoulderFine]
derive-composites 'latn/beta' 0xA7B5 'grek/beta'
alias 'grek/beta.cursive' null 'cyrl/ve.cursiveTall'
select-variant 'grek/beta' 0x3B2
alias 'grek/betaSymbol' 0x3D0 'cyrl/ve.cursiveTall'
alias 'cyrl/ve.BGR' null 'cyrl/ve.cursiveTall'
derive-composites 'latn/beta' 0xA7B5 'grek/beta.standard'
if SLAB [SerifFrame.fromDf [DivFrame 1] XH Descender].lb.fullSide [no-shape]
create-glyph 'cyrl/veRounded' 0x1C80 : glyph-proc