From fe088b5ee37528db56ed3c4a9c24c982c479519c Mon Sep 17 00:00:00 2001 From: be5invis Date: Tue, 23 Mar 2021 19:18:17 -0700 Subject: [PATCH] Fix serif placement of italic en and em --- font-src/glyphs/letter/latin/upper-h.ptl | 2 +- font-src/glyphs/letter/latin/upper-m.ptl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/font-src/glyphs/letter/latin/upper-h.ptl b/font-src/glyphs/letter/latin/upper-h.ptl index fba0038e7..41ab3659f 100644 --- a/font-src/glyphs/letter/latin/upper-h.ptl +++ b/font-src/glyphs/letter/latin/upper-h.ptl @@ -19,7 +19,7 @@ glyph-block Letter-Latin-Upper-H : begin include : tagged 'strokeL' : VBarLeft SB 0 top include : tagged 'strokeR' : VBarRight RightSB 0 top include : HBar (SB - O) (RightSB + O) (top * HBarPos) - include : match slabType + if SLAB : include : match slabType [Just SLAB-AUTO] : AIHSerifs top [Just SLAB-MOTION] : tagged 'serifLT' : LeftwardTopSerif SB top SideJut [Just SLAB-SMALL-CYRILLIC] : if [not para.isItalic] [AIHSerifs top] : glyph-proc diff --git a/font-src/glyphs/letter/latin/upper-m.ptl b/font-src/glyphs/letter/latin/upper-m.ptl index 47faed780..7791aa335 100644 --- a/font-src/glyphs/letter/latin/upper-m.ptl +++ b/font-src/glyphs/letter/latin/upper-m.ptl @@ -40,7 +40,7 @@ glyph-block Letter-Latin-Upper-M : begin flat (df.rightSB - halfSwMiddle) top [widths.heading 0 swSideTop Downward] curl df.middle middleY [widths.heading (swSideTop / 2) (swSideTop / 2) Downward] - include : match slabType + if SLAB : include : match slabType [Just SLAB-AUTO] : AIMSerifs top df.leftSB df.rightSB [Just SLAB-MOTION] : tagged 'serifLT' : LeftwardTopSerif df.leftSB top SideJut [Just SLAB-SMALL-CYRILLIC] : if [not para.isItalic]