Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize glyph for Latin Lower Dezh Digraph with Palatal Hook. #2538

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion changes/31.8.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
17 changes: 16 additions & 1 deletion packages/font-glyphs/src/letter/latin-ext/ezh.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
Loading