Optimize top-left serif of Yr.

This commit is contained in:
John McWilliams 2025-03-22 07:26:02 -04:00
parent 8f2f859a6f
commit ba5a8ed115
2 changed files with 5 additions and 3 deletions

View file

@ -116,7 +116,9 @@ glyph-block Letter-Latin-Upper-P : begin
set PShape.SlabMotion : function [top df sw mul] : glyph-proc set PShape.SlabMotion : function [top df sw mul] : glyph-proc
include : tagged 'serifLT' : HSerif.lt (df.leftSB * mul) top SideJut sw include : tagged 'serifLT' : HSerif.lt (df.leftSB * mul) top SideJut sw
set PShape.SlabFullSymmetric : function [top df sw mul] : glyph-proc set PShape.SlabFullSymmetric : function [top df sw mul] : glyph-proc
include : tagged 'serifLT' : HSerif.mt (df.leftSB * mul + [HSwToV : 0.5 * sw]) top Jut sw include : tagged 'serifLT' : union
HSerif.lt (df.leftSB * mul) top SideJut sw
HSerif.rt (df.leftSB * mul + [HSwToV : 0.5 * sw]) top MidJutSide sw
include : tagged 'serifLB' : HSerif.mb (df.leftSB * mul + [HSwToV : 0.5 * sw]) 0 Jut sw include : tagged 'serifLB' : HSerif.mb (df.leftSB * mul + [HSwToV : 0.5 * sw]) 0 Jut sw
set PShape.SlabSymmetric : function [top df sw mul] : glyph-proc set PShape.SlabSymmetric : function [top df sw mul] : glyph-proc
include : PShape.SlabMotion top df sw mul include : PShape.SlabMotion top df sw mul

View file

@ -245,7 +245,7 @@ glyph-block Letter-Latin-Upper-R : begin
define bp : RBarPos CAP 0 define bp : RBarPos CAP 0
include : intersection include : intersection
Rect CAP 0 SB Width Rect CAP 0 SB Width
with-transform [Translate (-Width / 8) 0] with-transform [Translate ((-Width) / 8) 0]
PShape CAP (bp -- bp) (withBar -- false) PShape CAP (bp -- bp) (withBar -- false)
local right : RightSB - O - [if legShape 0 (Width / 16)] local right : RightSB - O - [if legShape 0 (Width / 16)]
include : RLegShapes.(legShape) [RLegTop CAP Stroke bp] 0 (Width * 0.375) right CAP doLegSlab Stroke 0 include : RLegShapes.(legShape) [RLegTop CAP Stroke bp] 0 (Width * 0.375) right CAP doLegSlab Stroke 0