Add flat-serifed variants for 1
(#819).
This commit is contained in:
parent
a5b13eb165
commit
d82dd0d36d
3 changed files with 35 additions and 1 deletions
|
@ -148,6 +148,11 @@ glyph-block Digits-One : begin
|
|||
flat (Middle - HalfStroke * HVContrast + balance) top [widths topSW 0]
|
||||
curl (Middle - Stroke / 8 * HVContrast - HookX * 1.25 + balance) (top - Stroke / 8 - Hook * pTopSerif * (top / CAP))
|
||||
|
||||
define [OneShapeFlat top balance pTopSerif] : glyph-proc
|
||||
define topSW : AdviceStroke 3.5
|
||||
include : VBar (Middle + balance) 0 top
|
||||
include : LeftwardTopSerif (Middle + balance - HalfStroke * HVContrast) (top - Stroke / 8 - Hook * pTopSerif * (top / CAP)) (LongJut - HalfStroke * HVContrast)
|
||||
|
||||
create-glyph 'one.lnum.nobase' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShape CAP OneBalance 0.75
|
||||
|
@ -166,6 +171,15 @@ glyph-block Digits-One : begin
|
|||
include : OneShape CAP (OneBalance / 4) 1.875
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.lnum.nobaseFlatTopSerif' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShapeFlat CAP OneBalance 0.625
|
||||
|
||||
create-glyph 'one.lnum.baseFlatTopSerif' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShapeFlat CAP (OneBalance / 4) 0.625
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.lnum.line' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : VBar Middle 0 CAP
|
||||
|
@ -189,6 +203,15 @@ glyph-block Digits-One : begin
|
|||
include : OneShape OnumHeight (OneBalance / 4) 1.875
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.onum.nobaseFlatTopSerif' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : OneShapeFlat OnumHeight OneBalance 0.625
|
||||
|
||||
create-glyph 'one.onum.baseFlatTopSerif' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : OneShapeFlat OnumHeight (OneBalance / 4) 0.625
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.onum.line' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : VBar Middle 0 OnumHeight
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue