diff --git a/changes/31.8.1.md b/changes/31.8.1.md index da9b4de01b..fe06c07b32 100644 --- a/changes/31.8.1.md +++ b/changes/31.8.1.md @@ -3,5 +3,6 @@ * Optimize glyphs for `rounded-serifless` and `rounded-serifed` variants for Capital Eszett (`ẞ`). * Optimize glyphs for closed epsilon shapes (`U+025E`, `U+029A`). * Optimize glyphs for cursive variants for Greek Lower Beta (`β`) and Cyrillic Lower Ve (`в`). -* Optimize glyphs for Volapük Ae/Oe/Ue (`U+A79A`..`U+A79F`). * Optimize glyph for Cyrillic Lower Dzze (`U+A689`) under italics. +* Optimize glyphs for Volapük Ae/Oe/Ue (`U+A79A`..`U+A79F`). +* Optimize glyph for Latin Lower Dezh Digraph with Palatal Hook (`U+1DF12`). diff --git a/packages/font-glyphs/src/letter/latin-ext/ezh.ptl b/packages/font-glyphs/src/letter/latin-ext/ezh.ptl index a1da56c0f4..50e4a8538f 100644 --- a/packages/font-glyphs/src/letter/latin-ext/ezh.ptl +++ b/packages/font-glyphs/src/letter/latin-ext/ezh.ptl @@ -179,6 +179,21 @@ glyph-block Letter-Latin-Ezh : begin refSw -- dfSub.mvs maskOut -- [intersection [MaskBelow y] [MaskLeft dfSub.rightSB]] + if [not isSerifed] : begin + create-glyph "ezhPalatalHook/phoneticRight.\(suffix)" : glyph-proc + include : MarkSet.p + local p : SmallArchDepthB / (SmallArchDepthA + SmallArchDepthB) + local [object yMidBar] : include : EzhShape [DivFrame 1] XH Descender + isCursive -- isCursive + isSerifed -- isSerifed + local y : [mix yMidBar Descender p] - HalfStroke + include : PalatalHook.r + x -- [mix SB RightSB (4/3)] + y -- y + xLink -- RightSB + refSw -- [AdviceStroke 3] + maskOut -- [intersection [MaskBelow y] [MaskLeft RightSB]] + select-variant 'Ezh' 0x1B7 select-variant 'smcpEzh' 0x1D23 (follow -- 'Ezh') select-variant 'ezh' 0x292 @@ -187,7 +202,7 @@ glyph-block Letter-Latin-Ezh : begin select-variant 'ezhRetroflexHook' 0x1D9A (follow -- 'ezh') select-variant 'ezhPalatalHook' 0x1DF18 (follow -- 'ezh') select-variant 'ezh/phoneticRight' (shapeFrom -- 'ezh') - select-variant 'ezhPalatalHook/phoneticRight' (shapeFrom -- 'ezhPalatalHook') (follow -- 'ezh/phoneticRight') + select-variant 'ezhPalatalHook/phoneticRight' (follow -- 'ezh/phoneticRight') alias 'cyrl/abk/Dze' 0x4E0 'Ezh' alias 'cyrl/abk/dze' 0x4E1 'ezh'