Add Cyrillic Dzwe (U+A682..U+A683). (#2341)

This commit is contained in:
John McWilliams 2024-05-24 17:09:02 -04:00 committed by GitHub
parent 09edff0ef6
commit dd8a15fc14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 0 deletions

View file

@ -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`).

View file

@ -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')