From df05d6a2fef5cd80bd85d70d980c60b534851735 Mon Sep 17 00:00:00 2001 From: be5invis Date: Sun, 11 Jun 2023 19:17:52 -0700 Subject: [PATCH] * Fix shape of U serifs (#1788). --- changes/24.1.3.md | 3 ++- font-src/glyphs/letter/latin/u.ptl | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changes/24.1.3.md b/changes/24.1.3.md index fd6db688da..59110a3379 100644 --- a/changes/24.1.3.md +++ b/changes/24.1.3.md @@ -1,6 +1,7 @@ -* Fix missing U+1D7F mapping (#1787). * Add Characters: - LATIN CAPITAL LETTER INSULAR F (`U+A77B`) (#1786). - LATIN SMALL LETTER INSULAR F (`U+A77C`) (#1786). - LATIN CAPITAL LETTER INSULAR S (`U+A784`) (#1786). - LATIN SMALL LETTER INSULAR S (`U+A785`) (#1786). +* Fix missing U+1D7F mapping (#1787). +* Fix shape of U serifs (#1788). diff --git a/font-src/glyphs/letter/latin/u.ptl b/font-src/glyphs/letter/latin/u.ptl index 41be5827ca..51364c46c4 100644 --- a/font-src/glyphs/letter/latin/u.ptl +++ b/font-src/glyphs/letter/latin/u.ptl @@ -127,7 +127,9 @@ glyph-block Letter-Latin-U : begin define [SmallUMotionTailedSlabs df top] : glyph-proc include : UTopLeftSerif df top - define [ToothlessSlabs df top] : let [sf : SerifFrame.fromDf df top 0] : composite-proc sf.lt.full sf.rt.full + define [ToothlessSlabs df top] : begin + local sf : SerifFrame.fromDf df top 0 + return : composite-proc sf.lt.full sf.rt.full define CapitalUConfig : SuffixCfg.weave object # body @@ -144,7 +146,7 @@ glyph-block Letter-Latin-U : begin serifed : match body [Just 'toothed'] { SmallUSlabs true } [Just 'tailed'] { SmallUTailedSlabs true } - __ { SmallUToothlessSlabs true } + __ { ToothlessSlabs true } foreach { suffix { Base {Slabs fLTSlab} } } [Object.entries CapitalUConfig] : do create-glyph "U.\(suffix)" : glyph-proc