From 8182fb22801ce2525a3ae40d30b14db708cccb31 Mon Sep 17 00:00:00 2001 From: be5invis Date: Sat, 27 Jan 2024 17:00:08 -0800 Subject: [PATCH] Fix metrics of Cyrillic Yery (#2182). --- .editorconfig | 1 + changes/28.0.7.md | 22 +++++++++---------- changes/28.1.0.md | 1 + .../font-glyphs/src/letter/cyrillic/yeri.ptl | 8 +++---- 4 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 changes/28.1.0.md diff --git a/.editorconfig b/.editorconfig index 87f0ef784..7139c4c16 100644 --- a/.editorconfig +++ b/.editorconfig @@ -18,6 +18,7 @@ block_comment_end = */ indent_style = space indent_size = 2 trim_trailing_whitespace = false +insert_final_newline = true # The indent size used in the `package.json` file cannot be changed # https://github.com/npm/npm/pull/3180#issuecomment-16336516 diff --git a/changes/28.0.7.md b/changes/28.0.7.md index 8a3f03a92..8027cd753 100644 --- a/changes/28.0.7.md +++ b/changes/28.0.7.md @@ -1,11 +1,11 @@ -* Make superscript/subscript/overscript Cyrillic characters obey localization forms of base letters (#2177). -* Add IPA localization forms for Greek Lower Beta (`β`) and Chi (`χ`). -* Add APLF variants for `U+25F0`, `U+25F3`, and `U+25F4`. -* Make Ezh follow variants of `Z`/`z` (#1957). -* Fix serif form for Cyrillic Lower Tall / Iotified Yat (#2178). -* Make top serifs of Cyrillic Lower Straight U (`ү`, `ұ`) and Latin Lower Gamma (`ɣ`) respond to italics. -* Fix leaning marks of Capital Turned/Half H (`U+2C75`, `U+2C76`, `U+A78D`, `U+A7F5`, `U+A7F6`). -* Fix leaning marks of Wynn (`U+01BF`, `U+01F7`). -* Fix leaning marks of Insular R (`U+A782`, `U+A783`). -* Fix leaning marks of Greek/Latin Beta (`U+03B2`, `U+A7B4`, `U+A7B5`). -* Fix leaning marks of Greek Lower San (`U+03FB`). +* Make superscript/subscript/overscript Cyrillic characters obey localization forms of base letters (#2177). +* Add IPA localization forms for Greek Lower Beta (`β`) and Chi (`χ`). +* Add APLF variants for `U+25F0`, `U+25F3`, and `U+25F4`. +* Make Ezh follow variants of `Z`/`z` (#1957). +* Fix serif form for Cyrillic Lower Tall / Iotified Yat (#2178). +* Make top serifs of Cyrillic Lower Straight U (`ү`, `ұ`) and Latin Lower Gamma (`ɣ`) respond to italics. +* Fix leaning marks of Capital Turned/Half H (`U+2C75`, `U+2C76`, `U+A78D`, `U+A7F5`, `U+A7F6`). +* Fix leaning marks of Wynn (`U+01BF`, `U+01F7`). +* Fix leaning marks of Insular R (`U+A782`, `U+A783`). +* Fix leaning marks of Greek/Latin Beta (`U+03B2`, `U+A7B4`, `U+A7B5`). +* Fix leaning marks of Greek Lower San (`U+03FB`). diff --git a/changes/28.1.0.md b/changes/28.1.0.md new file mode 100644 index 000000000..b11349ad3 --- /dev/null +++ b/changes/28.1.0.md @@ -0,0 +1 @@ +* Fix metrics of Cyrillic Yery (#2182). diff --git a/packages/font-glyphs/src/letter/cyrillic/yeri.ptl b/packages/font-glyphs/src/letter/cyrillic/yeri.ptl index ad701a5ed..30326b771 100644 --- a/packages/font-glyphs/src/letter/cyrillic/yeri.ptl +++ b/packages/font-glyphs/src/letter/cyrillic/yeri.ptl @@ -312,19 +312,19 @@ glyph-block Letter-Cyrillic-Yeri : begin foreach { suffix { Uc Lc fTail } } [Object.entries YeryConfig] : do create-glyph "cyrl/Yery.\(suffix)" : glyph-proc - local df : include : DivFrame [mix 1 para.diversityM 1.5] 3 + local df : include : DivFrame para.diversityM 3 include : df.markSet.capital include : CyrYeryShape Uc df CAP false fTail create-glyph "cyrl/yery.\(suffix)" : glyph-proc - local df : include : DivFrame [mix 1 para.diversityM 1.5] 3 + local df : include : DivFrame para.diversityM 3 include : df.markSet.e include : CyrYeryShape Lc df XH false fTail create-glyph "cyrl/YeryBack.\(suffix)" : glyph-proc - local df : include : DivFrame [mix 1 para.diversityM 1.5] 3 + local df : include : DivFrame para.diversityM 3 include : df.markSet.capital include : CyrYeryShape Uc df CAP true fTail create-glyph "cyrl/yeryBack.\(suffix)" : glyph-proc - local df : include : DivFrame [mix 1 para.diversityM 1.5] 3 + local df : include : DivFrame para.diversityM 3 include : df.markSet.e include : CyrYeryShape Lc df XH true fTail