Merge pull request #2752 from be5invis/b/optimize-mathbb-B

optimzie shape of mathbb/B
This commit is contained in:
Belleve 2025-04-25 15:46:40 -10:00 committed by GitHub
commit 9529a78c44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,14 +225,18 @@ glyph-block Letter-Latin-Upper-B : begin
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
include : difference
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
Rect (CAP - BBS) (0 + BBS) (SB + [HSwToV BBS]) (SB + BBD)
### Greek Beta
create-glyph 'grek/beta.standard' : glyph-proc
include : MarkSet.bp