Add serifs to Latin Lower Lambda under Slab. (#2782)

This commit is contained in:
John McWilliams 2025-05-25 17:54:49 -04:00 committed by GitHub
parent 63b0e95b98
commit cec3263c77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 40 additions and 11 deletions

View file

@ -233,10 +233,15 @@ glyph-block Letter-Latin-Lower-Y : begin
right.splitMask top bottom
Rect (bottom + HalfStroke) (bottom - top) 0 Width
if doSlabTop : include : let [sf : SerifFrame.fromDf [DivFrame 1] top bottom]
composite-proc sf.lt.full sf.rt.full
if doSlabBottom : include : right.baseSerif top bottom
if doSlabMotion : include : HSerif.lt SB top SideJut
if doSlabTop
let [sf : SerifFrame.fromDf [DivFrame 1] top bottom] : composite-proc sf.lt.full sf.rt.full
no-shape
if doSlabBottom
right.baseSerif top bottom
no-shape
if doSlabMotion
HSerif.lt SB top SideJut
no-shape
export : define [SmallYHookTopShape top bottom] : glyph-proc
local right : RightHalf TS-HOOKTOP SHRINK-NONE
@ -264,9 +269,15 @@ glyph-block Letter-Latin-Lower-Y : begin
right.splitMask top bottom
Rect (bottom + HalfStroke) (bottom - top) 0 Width
if doSlabTop : include : let [sf : SerifFrame.fromDf [DivFrame 1] top bottom] sf.lt.full
if doSlabBottom : include : right.baseSerif top bottom
if doSlabMotion : include : HSerif.lt SB top SideJut
if doSlabTop
let [sf : SerifFrame.fromDf [DivFrame 1] top bottom] sf.lt.full
no-shape
if doSlabBottom
right.baseSerif top bottom
no-shape
if doSlabMotion
HSerif.lt SB top SideJut
no-shape
export : define [SmallLambdaShape top bottom] : union : glyph-proc
set currentGlyph.gizmo : Italify (-para.slopeAngle)
@ -293,6 +304,7 @@ glyph-block Letter-Latin-Lower-Y : begin
turn BS-TURN
loop BS-LOOP
object # serifs
"" SLAB-AUTO
serifless SLAB-NONE
serifed SLAB-ALL
motionSerifed SLAB-MOTION
@ -336,8 +348,12 @@ glyph-block Letter-Latin-Lower-Y : begin
set-base-anchor 'strike' Middle (XH / 2 - Descender)
include : Shapes.SmallYShape CAP 0
alias 'grek/lambda.tailedTurn' null 'grek/lambdaFHT.straightTurn'
alias 'latn/lambdaStroke.tailedTurn' null 'latn/lambdaStrokeFHT.straightTurn'
alias 'grek/lambda.tailedTurnSerifless' null 'grek/lambdaFHT.straightTurnSerifless'
alias 'latn/lambdaStroke.tailedTurnSerifless' null 'latn/lambdaStrokeFHT.straightTurnSerifless'
alias 'grek/lambda.curlyTailedTurn' null 'grek/lambdaFHT.curlyTurn'
alias 'latn/lambdaStroke.curlyTailedTurn' null 'latn/lambdaStrokeFHT.curlyTurn'
alias 'grek/lambda.curlyTailedTurnSerifless' null 'grek/lambdaFHT.curlyTurnSerifless'
alias 'latn/lambdaStroke.curlyTailedTurnSerifless' null 'latn/lambdaStrokeFHT.curlyTurnSerifless'
@ -431,8 +447,8 @@ glyph-block Letter-Latin-Lower-Y : begin
select-variant 'yLoop' 0x1EFF (shapeFrom -- 'y')
select-variant 'grek/lambda' 0x3BB
alias 'latn/lambda' 0xA7DB 'grek/lambda'
select-variant 'latn/lambdaStroke' 0x19B (follow -- 'grek/lambda')
select-variant 'latn/lambda' 0xA7DB (shapeFrom -- 'grek/lambda')
select-variant 'latn/lambdaStroke' 0x19B (follow -- 'latn/lambda')
# Blackboard
glyph-block-import Letter-Blackboard : BBS BBD