Skip to content

Commit

Permalink
Fix AU's artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Dec 22, 2023
1 parent e29df67 commit a4da4aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/font-glyphs/src/letter/latin/upper-a.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,19 @@ glyph-block Letter-Latin-Upper-A : begin
define [ABottomRightRemoved] : with-params [df fStraightBar slabKind top sw] : new-glyph : glyph-proc
define yBar : ABarPosition slabKind top
include : VShape df fStraightBar top sw
include : FlipAround df.middle (top / 2)
eject-contour 'strokeDown'
include : FlipAround df.middle (top / 2)

local rightStrokeKnots : begin
local s : Seg (df.middle + VCornerHalfWidth * sw / Stroke) top df.rightSB (yBar - sw)
list
s.z 0 flat
s.z (-1) flat
s.z 0 flat
s.zz 0.55 [StrokeWidthBlend 0.48 0.45] [if fStraightBar curl g4]
s.z 1 straight.down.end

include : intersection
MaskBelow top
MaskAbove (yBar - sw)
dispiro [widths.rhs sw] rightStrokeKnots

Expand Down

0 comments on commit a4da4aa

Please sign in to comment.