Fix serif placement of italic en and em

This commit is contained in:
be5invis 2021-03-23 19:18:17 -07:00
parent 5fbca8c0c5
commit fe088b5ee3
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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]