Add variant selectors For Cyrillic Lower A/Ve. (#2428)
This commit is contained in:
parent
4e9c3bce9d
commit
0a222e1989
10 changed files with 274 additions and 32 deletions
|
@ -149,12 +149,12 @@ glyph-block Letter-Latin-Upper-B : begin
|
|||
include [refer-glyph "B.\(suffix)"] AS_BASE ALSO_METRICS
|
||||
include : BOverlayBar CAP bp
|
||||
|
||||
if (!fAsymmetric) : create-glyph "smcpB.\(suffix)" : glyph-proc
|
||||
if (!fAsymmetric) : create-glyph "cyrl/ve.\(suffix)" : glyph-proc
|
||||
include : MarkSet.e
|
||||
include : body XH [AdviceStroke2 2 3 XH] ts bs
|
||||
|
||||
if (!fGap && !fAsymmetric) : create-glyph "smcpBBar.\(suffix)" : glyph-proc
|
||||
include [refer-glyph "smcpB.\(suffix)"] AS_BASE ALSO_METRICS
|
||||
include [refer-glyph "cyrl/ve.\(suffix)"] AS_BASE ALSO_METRICS
|
||||
include : BOverlayBar XH bp
|
||||
|
||||
create-glyph "currency/baht.\(suffix)" : union
|
||||
|
@ -185,26 +185,12 @@ glyph-block Letter-Latin-Upper-B : begin
|
|||
alias-reduced-variant 'grek/Beta/sansSerif' 'grek/Beta' 'B/sansSerif' MathSansSerif
|
||||
alias 'cyrl/Ve' 0x412 'B'
|
||||
|
||||
select-variant 'smcpB' 0x299
|
||||
alias 'cyrl/ve.upright' null 'smcpB'
|
||||
|
||||
select-variant 'BBar'
|
||||
select-variant 'smcpBBar' 0x1D03
|
||||
|
||||
select-variant 'Bhookleft' 0x181
|
||||
|
||||
create-glyph 'mathbb/B' 0x1D539 : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : union
|
||||
BShape CAP (stroke -- BBS) (serifs -- false)
|
||||
intersection
|
||||
BShapeMask CAP (stroke -- BBS)
|
||||
union
|
||||
VBar.r (RightSB - BBD - OX * 2) 0 (CAP * BBarPos) BBS
|
||||
VBar.r ([mix SB RightSB BArcMix] - BBD - OX * 2) (CAP * BBarPos) CAP BBS
|
||||
VBar.l (SB + BBD) 0 CAP BBS
|
||||
|
||||
define [ItalicCyrveShape top] : glyph-proc
|
||||
define [CursiveCyrveShape top] : glyph-proc
|
||||
local stroke : AdviceStroke2 2 3 top
|
||||
local mid : mix RightSB SB 0.65
|
||||
local midy : top * HBarPos
|
||||
|
@ -226,15 +212,30 @@ glyph-block Letter-Latin-Upper-B : begin
|
|||
flat Middle (midy + (fine - stroke / 2)) [widths.heading fine 0 Leftward]
|
||||
curl mid (midy + (fine - stroke / 2)) [widths.heading fine 0 Leftward]
|
||||
|
||||
create-glyph 'cyrl/ve.italic' : glyph-proc
|
||||
create-glyph 'cyrl/ve.cursive' : glyph-proc
|
||||
include : MarkSet.e
|
||||
include : ItalicCyrveShape XH
|
||||
include : CursiveCyrveShape XH
|
||||
|
||||
create-glyph 'grek/betaSymbol' 0x3D0 : glyph-proc
|
||||
create-glyph 'cyrl/ve.cursiveTall' : glyph-proc
|
||||
include : MarkSet.b
|
||||
include : ItalicCyrveShape Ascender
|
||||
include : CursiveCyrveShape Ascender
|
||||
|
||||
alias 'cyrl/ve.BGR' null 'grek/betaSymbol'
|
||||
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'
|
||||
|
||||
create-glyph 'mathbb/B' 0x1D539 : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : union
|
||||
BShape CAP (stroke -- BBS) (serifs -- false)
|
||||
intersection
|
||||
BShapeMask CAP (stroke -- BBS)
|
||||
union
|
||||
VBar.r (RightSB - BBD - OX * 2) 0 (CAP * BBarPos) BBS
|
||||
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
|
||||
include : MarkSet.bp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue