Add long-top-serif variants of 1
(#783).
This commit is contained in:
parent
07f5e0d548
commit
a6446ec87e
3 changed files with 35 additions and 6 deletions
|
@ -5,4 +5,5 @@
|
|||
- Projection (`U+2305`) and Perspective(`U+2306`, #780).
|
||||
* Add `raised-turn-comma` variant for ASCII grave (#778).
|
||||
* Add `straight-neck` variant for digit TWO (`2`, #779).
|
||||
* Add long-top-serif variants of `1` (#783).
|
||||
* Add metric override `onumZeroHeightRatio` for height of old-style numbers (#784).
|
|
@ -141,20 +141,29 @@ glyph-block Digits-One : begin
|
|||
glyph-block-import Common-Derivatives
|
||||
glyph-block-import Digits-Shared : OnumHeight OnumMarks CodeLnum CodeOnum
|
||||
|
||||
define [OneShape top balance] : glyph-proc
|
||||
define [OneShape top balance pTopSerif] : glyph-proc
|
||||
define topSW : AdviceStroke 3.5
|
||||
include : VBar (Middle + balance) 0 top
|
||||
include : dispiro
|
||||
flat (Middle - HalfStroke * HVContrast + balance) top [widths topSW 0]
|
||||
curl (Middle - Stroke / 8 * HVContrast - HookX * 1.25 + balance) (top - Stroke / 8 - Hook * 0.75 * (top / CAP))
|
||||
curl (Middle - Stroke / 8 * HVContrast - HookX * 1.25 + balance) (top - Stroke / 8 - Hook * pTopSerif * (top / CAP))
|
||||
|
||||
create-glyph 'one.lnum.nobase' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShape CAP OneBalance
|
||||
include : OneShape CAP OneBalance 0.75
|
||||
|
||||
create-glyph 'one.lnum.base' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShape CAP (OneBalance / 4)
|
||||
include : OneShape CAP (OneBalance / 4) 0.75
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.lnum.nobaseLongTopSerif' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShape CAP OneBalance 1.875
|
||||
|
||||
create-glyph 'one.lnum.baseLongTopSerif' : glyph-proc
|
||||
include : MarkSet.capital
|
||||
include : OneShape CAP (OneBalance / 4) 1.875
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.lnum.line' : glyph-proc
|
||||
|
@ -164,11 +173,20 @@ glyph-block Digits-One : begin
|
|||
|
||||
create-glyph 'one.onum.nobase' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : OneShape OnumHeight OneBalance
|
||||
include : OneShape OnumHeight OneBalance 0.75
|
||||
|
||||
create-glyph 'one.onum.base' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : OneShape OnumHeight (OneBalance / 4)
|
||||
include : OneShape OnumHeight (OneBalance / 4) 0.75
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.onum.nobaseLongTopSerif' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : OneShape OnumHeight OneBalance 1.875
|
||||
|
||||
create-glyph 'one.onum.baseLongTopSerif' : glyph-proc
|
||||
include : OnumMarks.e
|
||||
include : OneShape OnumHeight (OneBalance / 4) 1.875
|
||||
include : CenterBottomSerif Middle 0 LongJut
|
||||
|
||||
create-glyph 'one.onum.line' : glyph-proc
|
||||
|
|
|
@ -1327,6 +1327,16 @@ rank = 3
|
|||
description = '`1` drawn just like a straight line'
|
||||
selector.one = "line"
|
||||
|
||||
[prime.one.variants.nobase-long-top-serif]
|
||||
rank = 4
|
||||
description = '`1` without bottom serif and with a long top serif'
|
||||
selector.one = "nobaseLongTopSerif"
|
||||
|
||||
[prime.one.variants.base-long-top-serif]
|
||||
rank = 5
|
||||
description = '`1` with bottom serif and a long top serif'
|
||||
selector.one = "baseLongTopSerif"
|
||||
|
||||
|
||||
|
||||
[prime.two]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue