diff --git a/changes/26.2.1.md b/changes/26.2.1.md index 5942ac360..6878cb228 100644 --- a/changes/26.2.1.md +++ b/changes/26.2.1.md @@ -1,2 +1,3 @@ * Fix leaning marks of LATIN SMALL LETTER T WITH CEDILLA (`U+0163`) (#1914). * Fix the dimensions of wide geometric shapes in quasi-proportional (#1941). +* Fix `cv76`'s application on CYRILLIC SMALL LETTER CHE WITH VERTICAL STROKE (`U+04B9`) (#1942). diff --git a/font-src/glyphs/letter/cyrillic/che.ptl b/font-src/glyphs/letter/cyrillic/che.ptl index 301a9aa54..c0969f94f 100644 --- a/font-src/glyphs/letter/cyrillic/che.ptl +++ b/font-src/glyphs/letter/cyrillic/che.ptl @@ -100,13 +100,10 @@ glyph-block Letter-Cyrillic-Che : begin turned 'cyrl/Shha' 0x4BA 'cyrl/Che' Middle (CAP / 2) derive-composites 'cyrl/ShhaDescender' 0x526 'cyrl/Shha' [CyrDescender.rSideJut RightSB 0] - define SwCheVBar : Math.min OverlayStroke (0.625 * (RightSB - SB - [HSwToV : 2 * Stroke]) / HVContrast) - create-glyph 'cyrl/CheVBar' 0x4B8 : glyph-proc - include [refer-glyph 'cyrl/Che'] AS_BASE - local yc (CAP * [if SLAB 0.45 0.35] + Stroke * 0.1) - include : VBar.m Middle (yc + LongJut * 0.8) (yc - LongJut * 0.8) SwCheVBar + define [ChrVBar top] : begin + local SwCheVBar : Math.min OverlayStroke (0.625 * (RightSB - SB - [HSwToV : 2 * Stroke]) / HVContrast) + local yc : top * [if SLAB 0.45 0.35] + Stroke * 0.1 + return : VBar.m Middle (yc + LongJut * 0.8) (yc - LongJut * 0.8) SwCheVBar - create-glyph 'cyrl/cheVBar' 0x4B9 : glyph-proc - include [refer-glyph 'cyrl/che'] AS_BASE - local yc (XH * [if SLAB 0.45 0.35] + Stroke * 0.1) - include : VBar.m Middle (yc + LongJut * 0.8) (yc - LongJut * 0.8) SwCheVBar + derive-composites 'cyrl/CheVBar' 0x4B8 'cyrl/Che' [ChrVBar CAP] + derive-composites 'cyrl/cheVBar' 0x4B9 'cyrl/che' [ChrVBar XH]