Make w.straightDoubleV slightly narrower under QP. (#2804)

This commit is contained in:
John McWilliams 2025-06-19 22:57:09 -04:00 committed by GitHub
parent ea7787f4e2
commit e77c90c14a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -359,8 +359,8 @@ glyph-block Letter-Latin-W : begin
# Body # Body
object object
straight { WShapeImpl WHooktopShape FORM-STRAIGHT MIDH-OTHER para.advanceScaleM para.advanceScaleM } straight { WShapeImpl WHooktopShape FORM-STRAIGHT MIDH-OTHER para.advanceScaleM para.advanceScaleM }
straightAsymmetric { WShapeImpl WHooktopShape FORM-ASYMMETRIC MIDH-TOP para.advanceScaleM para.advanceScaleM } straightAsymmetric { WShapeImpl WHooktopShape FORM-ASYMMETRIC MIDH-TOP para.advanceScaleM para.advanceScaleT }
straightDoubleV { WShapeImpl WHooktopShape FORM-DOUBLE-V MIDH-TOP para.advanceScaleM para.advanceScaleM } straightDoubleV { WShapeImpl WHooktopShape FORM-DOUBLE-V MIDH-TOP para.advanceScaleM para.advanceScaleT }
straightAlmostFlatTop { WShapeImpl WHooktopShape FORM-STRAIGHT MIDH-ALMOST-TOP para.advanceScaleMM para.advanceScaleM } straightAlmostFlatTop { WShapeImpl WHooktopShape FORM-STRAIGHT MIDH-ALMOST-TOP para.advanceScaleMM para.advanceScaleM }
straightFlatTop { WShapeImpl WHooktopShape FORM-STRAIGHT MIDH-TOP para.advanceScaleMM para.advanceScaleM } straightFlatTop { WShapeImpl WHooktopShape FORM-STRAIGHT MIDH-TOP para.advanceScaleMM para.advanceScaleM }
straightVerticalSides { WVertSides WVSHookTopShape FORM-VERTICAL MIDH-OTHER para.advanceScaleM para.advanceScaleT } straightVerticalSides { WVertSides WVSHookTopShape FORM-VERTICAL MIDH-OTHER para.advanceScaleM para.advanceScaleT }
@ -427,7 +427,7 @@ glyph-block Letter-Latin-W : begin
create-glyph "currency/wonSign.\(suffix)" : glyph-proc create-glyph "currency/wonSign.\(suffix)" : glyph-proc
local df : DivFrame Udiv 3 local df : DivFrame Udiv 3
include [refer-glyph "W.\(suffix)"] AS_BASE ALSO_METRICS include [refer-glyph "W.\(suffix)"] AS_BASE ALSO_METRICS
include : HOverlayBar [mix df.leftSB 0 0.7] [mix df.rightSB df.width 0.7] (CAP * 0.6) include : HOverlayBar [mix df.leftSB 0 0.7] [mix df.rightSB df.width 0.7] (CAP * 0.60)
include : HOverlayBar [mix df.leftSB 0 0.7] [mix df.rightSB df.width 0.7] (CAP * 0.35) include : HOverlayBar [mix df.leftSB 0 0.7] [mix df.rightSB df.width 0.7] (CAP * 0.35)
select-variant 'W' 'W' select-variant 'W' 'W'
@ -453,7 +453,7 @@ glyph-block Letter-Latin-W : begin
define [BBWShape top] : begin define [BBWShape top] : begin
local offset : BBD * 2 local offset : BBD * 2
local ksW : [AdviceStroke2 8 2 top] / BBS local ksW : [AdviceStroke2 8 2 top] / BBS
local kdW : Math.min ksW (3 / 4) local kdW : Math.min ksW 0.75
return : union return : union
difference difference
BBVShape SB (RightSB - offset) kdW ksW top BBVShape SB (RightSB - offset) kdW ksW top