Shape refinements

This commit is contained in:
be5invis 2022-12-13 07:08:14 -08:00
parent 3b9b9ac207
commit e6695e62bf
3 changed files with 11 additions and 7 deletions

View file

@ -130,8 +130,8 @@ glyph-block Letter-Latin-Long-S : begin
derive-composites 'eshPalatalHook' 0x1D8B 'esh' derive-composites 'eshPalatalHook' 0x1D8B 'esh'
difference difference
PalatalHook (x -- RightSB) (y -- 0) (xAttach -- Middle) PalatalHook (x -- RightSB) (y -- 0) (xAttach -- Middle) (refSw -- [AdviceStroke 3])
intersection [MaskBelow 0] [MaskLeft (Middle + HVContrast * HalfStroke + [Math.max (Width / 16) [AdviceStroke 12]])] intersection [MaskBelow 0] [MaskLeft (Middle + HVContrast * HalfStroke)]
create-glyph 'eshRetroflexHook' 0x1D98 : glyph-proc create-glyph 'eshRetroflexHook' 0x1D98 : glyph-proc
include : MarkSet.if include : MarkSet.if
include : LongSShape Ascender (Descender + Hook) (HookX + 0.25 * Stroke) Hook include : LongSShape Ascender (Descender + Hook) (HookX + 0.25 * Stroke) Hook

View file

@ -158,7 +158,7 @@ glyph-block Letter-Latin-Lower-G : begin
refSw -- dfSub.mvs refSw -- dfSub.mvs
intersection intersection
MaskBelow 0 MaskBelow 0
MaskLeft (dfSub.rightSB + [Math.max (Width / 16) [AdviceStroke 12]]) MaskLeft dfSub.rightSB
select-variant 'g' 'g' select-variant 'g' 'g'

View file

@ -60,10 +60,14 @@ glyph-block Letter-Latin-Lower-P : begin
link-reduced-variant 'p/hookTopBase' 'p' link-reduced-variant 'p/hookTopBase' 'p'
select-variant 'cyrl/er' 0x440 (shapeFrom -- 'p') (follow -- 'p') select-variant 'cyrl/er' 0x440 (shapeFrom -- 'p') (follow -- 'p')
derive-composites 'pPalatalHook' 0x1D88 'p' : PalatalHook derive-composites 'pPalatalHook' 0x1D88 'p' : difference
PalatalHook
x -- [mix (Middle + CorrectionOMidS) RightSB 0.75] x -- [mix (Middle + CorrectionOMidS) RightSB 0.75]
y -- 0 y -- 0
yAttach -- [mix O SmallArchDepthA : archv.yFromX 0.75] yAttach -- [mix O SmallArchDepthA : archv.yFromX 0.75]
intersection
MaskBelow 0
MaskLeft (SB + HVContrast * Stroke + [Math.max (Width / 16) [AdviceStroke 12]])
CreateAccentedComposition 'pTildeOver' 0x1D71 'p' 'tildeOverOnBar' CreateAccentedComposition 'pTildeOver' 0x1D71 'p' 'tildeOverOnBar'