diff --git a/changes/30.1.0.md b/changes/30.1.0.md index 74f234f28..8961219c0 100644 --- a/changes/30.1.0.md +++ b/changes/30.1.0.md @@ -4,6 +4,8 @@ - HOURGLASS (`U+231B`). - ALARM CLOCK (`U+23F0`) ... HOURGLASS WITH FLOWING SAND (`U+23F3`). - SQUAT BLACK RIGHTWARDS ARROW (`U+27A7`). + - CYRILLIC CAPITAL LETTER DZWE (`U+A682`). + - CYRILLIC SMALL LETTER DZWE (`U+A683`). - CYRILLIC CAPITAL LETTER CCHE (`U+A686`). - CYRILLIC SMALL LETTER CCHE (`U+A687`). - CYRILLIC CAPITAL LETTER TCHE (`U+A692`) ... CYRILLIC SMALL LETTER HWE (`U+A695`). diff --git a/packages/font-glyphs/src/letter/latin/s.ptl b/packages/font-glyphs/src/letter/latin/s.ptl index 8f1b9d61b..5b961e000 100644 --- a/packages/font-glyphs/src/letter/latin/s.ptl +++ b/packages/font-glyphs/src/letter/latin/s.ptl @@ -316,6 +316,27 @@ glyph-block Letter-Latin-S : begin include : SmallSStrokeImpl df doTS CURLY-TAIL sw EssLower include : SAutoSlabStart df doTS XH sw Hook + create-glyph "cyrl/Dzwe.\(suffix)" : glyph-proc + local df : include DfCapital + include : df.markSet.capDesc + local sw : AdviceStroke2 2 3 (CAP - Descender) + include : SStrokeImpl df CAP Descender doTS doBS sw EssUpper + include : SAutoSlabStart df doTS CAP sw Hook + include : SAutoSlabEnd df doBS Descender sw Hook + + create-glyph "cyrl/dzwe.\(suffix)" : glyph-proc + local df : include : DivFrame para.diversityF 2 + include : df.markSet.bp + local subDf : DivFrame (5 / 6) 2 + local sw : AdviceStroke2 2 3 (Ascender - Descender) subDf.div + local shift : 0.5 * (df.width - subDf.width) + include : with-transform [ApparentTranslate shift 0] + SStrokeImpl subDf Ascender Descender doTS doBS sw EssLower + include : with-transform [ApparentTranslate shift 0] + SAutoSlabStart subDf doTS Ascender sw Hook + include : with-transform [ApparentTranslate shift 0] + SAutoSlabEnd subDf doBS Descender sw Hook + select-variant 'S' 'S' link-reduced-variant 'S/sansSerif' 'S' MathSansSerif select-variant 's' 's' @@ -330,6 +351,9 @@ glyph-block Letter-Latin-S : begin alias 'cyrl/DzeRev' 0xA644 'revS' alias 'cyrl/dzeRev' 0xA645 'revs' + select-variant 'cyrl/Dzwe' 0xA682 (follow -- 'S') + select-variant 'cyrl/dzwe' 0xA683 (follow -- 's') + select-variant 'S/dollarKernelStd' (follow -- 'S') select-variant 'S/dollarKernelCap' (follow -- 'S')