Make serifs of cursive y
match that of lower u
(#1971)
This commit is contained in:
parent
b768038fbf
commit
09dfeca23c
3 changed files with 17 additions and 6 deletions
|
@ -6,5 +6,6 @@
|
||||||
- COMBINING LONG DOUBLE SOLIDUS OVERLAY (`U+20EB`).
|
- COMBINING LONG DOUBLE SOLIDUS OVERLAY (`U+20EB`).
|
||||||
* Generate TTFAutohint control files for better glyph display for variant glyphs (#1963).
|
* Generate TTFAutohint control files for better glyph display for variant glyphs (#1963).
|
||||||
* Make the shape of motion-serifed and serifed variants of toothed/tailed `u` no longer identical under Italic. Now "serifed" `u` will always preserve all serifs (#1967).
|
* Make the shape of motion-serifed and serifed variants of toothed/tailed `u` no longer identical under Italic. Now "serifed" `u` will always preserve all serifs (#1967).
|
||||||
|
* Make the fully-serifed form of cursive lower `y` match the serifs of lower `u`.
|
||||||
* Make MICRO SIGN (`µ`) tailed under italics by default, to match `u`.
|
* Make MICRO SIGN (`µ`) tailed under italics by default, to match `u`.
|
||||||
* Improve glyphs for COLON SIGN (`U+20A1`), GUARANI SIGN (`U+20B2`), and CEDI SIGN (`U+20B5`).
|
* Improve glyphs for COLON SIGN (`U+20A1`), GUARANI SIGN (`U+20B2`), and CEDI SIGN (`U+20B5`).
|
||||||
|
|
|
@ -313,10 +313,10 @@ glyph-block Letter-Latin-Lower-Y : begin
|
||||||
|
|
||||||
export : define [Serifs top slabType] : begin
|
export : define [Serifs top slabType] : begin
|
||||||
local { doSlabTop doSlabBottom doSlabMotion } slabKind
|
local { doSlabTop doSlabBottom doSlabMotion } slabKind
|
||||||
local sf : SerifFrame.fromDf [DivFrame 1] top 0
|
return : if [not doSlabTop] [no-shape] : glyph-proc
|
||||||
return : if [not doSlabTop] [no-shape] : composite-proc
|
local sf : SerifFrame.fromDf [DivFrame 1] top 0
|
||||||
if doSlabMotion sf.lt.outer sf.lt.full
|
include sf.lt.outer
|
||||||
if doSlabMotion [no-shape] sf.rt.full
|
if [not doSlabMotion] : include sf.rt.inner
|
||||||
|
|
||||||
define CursiveConfig : SuffixCfg.weave
|
define CursiveConfig : SuffixCfg.weave
|
||||||
object # body
|
object # body
|
||||||
|
@ -336,7 +336,7 @@ glyph-block Letter-Latin-Lower-Y : begin
|
||||||
include : hookShape XH Descender
|
include : hookShape XH Descender
|
||||||
include : Cursive.Serifs XH slabKind
|
include : Cursive.Serifs XH slabKind
|
||||||
|
|
||||||
create-glyph "yHookTop.\(suffix)" : glyph-proc
|
if (slabKind !== SLAB-ALL) : create-glyph "yHookTop.\(suffix)" : glyph-proc
|
||||||
include : MarkSet.p
|
include : MarkSet.p
|
||||||
include : Cursive.Arc XH 0
|
include : Cursive.Arc XH 0
|
||||||
include : hookShape (XH - TailY - HalfStroke) Descender
|
include : hookShape (XH - TailY - HalfStroke) Descender
|
||||||
|
@ -370,7 +370,7 @@ glyph-block Letter-Latin-Lower-Y : begin
|
||||||
select-variant 'yDotBelowDot1' (follow -- 'diacriticDot')
|
select-variant 'yDotBelowDot1' (follow -- 'diacriticDot')
|
||||||
CreateAccentedComposition 'yDotBelow' 0x1EF5 'y' 'yDotBelowDot1'
|
CreateAccentedComposition 'yDotBelow' 0x1EF5 'y' 'yDotBelowDot1'
|
||||||
|
|
||||||
select-variant 'yHookTop' 0x1B4 (follow -- 'y')
|
select-variant 'yHookTop' 0x1B4
|
||||||
select-variant 'cyrl/U' 0x423 (shapeFrom -- 'yCap')
|
select-variant 'cyrl/U' 0x423 (shapeFrom -- 'yCap')
|
||||||
|
|
||||||
select-variant 'yLoop' 0x1EFF (shapeFrom -- 'y')
|
select-variant 'yLoop' 0x1EFF (shapeFrom -- 'y')
|
||||||
|
|
|
@ -3834,6 +3834,7 @@ selectorAffix.y = "straight"
|
||||||
selectorAffix.yLoop = "straightLoop"
|
selectorAffix.yLoop = "straightLoop"
|
||||||
selectorAffix."y/sansSerif" = "straight"
|
selectorAffix."y/sansSerif" = "straight"
|
||||||
selectorAffix."y/nonCursive" = "straight"
|
selectorAffix."y/nonCursive" = "straight"
|
||||||
|
selectorAffix.yHookTop = "straight"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.body.curly]
|
[prime.y.variants-buildup.stages.body.curly]
|
||||||
rank = 2
|
rank = 2
|
||||||
|
@ -3842,6 +3843,7 @@ selectorAffix.y = "curly"
|
||||||
selectorAffix.yLoop = "curlyLoop"
|
selectorAffix.yLoop = "curlyLoop"
|
||||||
selectorAffix."y/sansSerif" = "curly"
|
selectorAffix."y/sansSerif" = "curly"
|
||||||
selectorAffix."y/nonCursive" = "curly"
|
selectorAffix."y/nonCursive" = "curly"
|
||||||
|
selectorAffix.yHookTop = "curly"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.body.cursive]
|
[prime.y.variants-buildup.stages.body.cursive]
|
||||||
rank = 3
|
rank = 3
|
||||||
|
@ -3850,6 +3852,7 @@ selectorAffix.y = "cursive"
|
||||||
selectorAffix.yLoop = "straightLoop"
|
selectorAffix.yLoop = "straightLoop"
|
||||||
selectorAffix."y/sansSerif" = "cursive"
|
selectorAffix."y/sansSerif" = "cursive"
|
||||||
selectorAffix."y/nonCursive" = "straight"
|
selectorAffix."y/nonCursive" = "straight"
|
||||||
|
selectorAffix.yHookTop = "cursive"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.hook."*"]
|
[prime.y.variants-buildup.stages.hook."*"]
|
||||||
next = "serifs"
|
next = "serifs"
|
||||||
|
@ -3861,6 +3864,7 @@ selectorAffix.y = ""
|
||||||
selectorAffix.yLoop = ""
|
selectorAffix.yLoop = ""
|
||||||
selectorAffix."y/sansSerif" = ""
|
selectorAffix."y/sansSerif" = ""
|
||||||
selectorAffix."y/nonCursive" = ""
|
selectorAffix."y/nonCursive" = ""
|
||||||
|
selectorAffix.yHookTop = ""
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.hook.turn]
|
[prime.y.variants-buildup.stages.hook.turn]
|
||||||
rank = 2
|
rank = 2
|
||||||
|
@ -3870,6 +3874,7 @@ selectorAffix.y = "turn"
|
||||||
selectorAffix.yLoop = ""
|
selectorAffix.yLoop = ""
|
||||||
selectorAffix."y/sansSerif" = ""
|
selectorAffix."y/sansSerif" = ""
|
||||||
selectorAffix."y/nonCursive" = "turn"
|
selectorAffix."y/nonCursive" = "turn"
|
||||||
|
selectorAffix.yHookTop = "turn"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.hook.flat-hook]
|
[prime.y.variants-buildup.stages.hook.flat-hook]
|
||||||
rank = 3
|
rank = 3
|
||||||
|
@ -3879,6 +3884,7 @@ selectorAffix.y = "flatHook"
|
||||||
selectorAffix.yLoop = ""
|
selectorAffix.yLoop = ""
|
||||||
selectorAffix."y/sansSerif" = "flatHook"
|
selectorAffix."y/sansSerif" = "flatHook"
|
||||||
selectorAffix."y/nonCursive" = ""
|
selectorAffix."y/nonCursive" = ""
|
||||||
|
selectorAffix.yHookTop = "flatHook"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.serifs.serifless]
|
[prime.y.variants-buildup.stages.serifs.serifless]
|
||||||
rank = 1
|
rank = 1
|
||||||
|
@ -3888,6 +3894,7 @@ selectorAffix.y = "serifless"
|
||||||
selectorAffix.yLoop = "serifless"
|
selectorAffix.yLoop = "serifless"
|
||||||
selectorAffix."y/sansSerif" = "serifless"
|
selectorAffix."y/sansSerif" = "serifless"
|
||||||
selectorAffix."y/nonCursive" = "serifless"
|
selectorAffix."y/nonCursive" = "serifless"
|
||||||
|
selectorAffix.yHookTop = "serifless"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.serifs.motion-serifed]
|
[prime.y.variants-buildup.stages.serifs.motion-serifed]
|
||||||
rank = 2
|
rank = 2
|
||||||
|
@ -3896,6 +3903,7 @@ selectorAffix.y = "motionSerifed"
|
||||||
selectorAffix.yLoop = "motionSerifed"
|
selectorAffix.yLoop = "motionSerifed"
|
||||||
selectorAffix."y/sansSerif" = "serifless"
|
selectorAffix."y/sansSerif" = "serifless"
|
||||||
selectorAffix."y/nonCursive" = "motionSerifed"
|
selectorAffix."y/nonCursive" = "motionSerifed"
|
||||||
|
selectorAffix.yHookTop = "motionSerifed"
|
||||||
|
|
||||||
[prime.y.variants-buildup.stages.serifs.serifed]
|
[prime.y.variants-buildup.stages.serifs.serifed]
|
||||||
rank = 3
|
rank = 3
|
||||||
|
@ -3904,6 +3912,7 @@ selectorAffix.y = "serifed"
|
||||||
selectorAffix.yLoop = "serifed"
|
selectorAffix.yLoop = "serifed"
|
||||||
selectorAffix."y/sansSerif" = "serifless"
|
selectorAffix."y/sansSerif" = "serifless"
|
||||||
selectorAffix."y/nonCursive" = "serifed"
|
selectorAffix."y/nonCursive" = "serifed"
|
||||||
|
selectorAffix.yHookTop = { if = [{ body = "cursive" }], then = "motionSerifed", else = "serifed" }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -7817,6 +7826,7 @@ k = "symmetric-connected-top-left-serifed"
|
||||||
l = "serifed-flat-tailed"
|
l = "serifed-flat-tailed"
|
||||||
x = "straight-motion-serifed"
|
x = "straight-motion-serifed"
|
||||||
y = "cursive-flat-hook-motion-serifed"
|
y = "cursive-flat-hook-motion-serifed"
|
||||||
|
cyrl-capital-u = "cursive-flat-hook-motion-serifed"
|
||||||
micro-sign = "toothless-rounded-motion-serifed"
|
micro-sign = "toothless-rounded-motion-serifed"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue