Skip to content

Commit

Permalink
* Fix shape of U serifs (#1788).
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Jun 12, 2023
1 parent 0b18467 commit df05d6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion changes/24.1.3.md
Original file line number Diff line number Diff line change
@@ -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).
6 changes: 4 additions & 2 deletions font-src/glyphs/letter/latin/u.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit df05d6a

Please sign in to comment.