Skip to content

Commit

Permalink
optimize marriage
Browse files Browse the repository at this point in the history
  • Loading branch information
Logo121 committed Dec 18, 2024
1 parent f37a00d commit 454ad67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/font-glyphs/src/symbol/geometric/masked.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ glyph-block Symbol-Geometric-Masked : for-width-kinds WideWidth1

create-glyph [MangleName 'marriageSymbol'] [MangleUnicode 0x26AD] : glyph-proc
set-width Geom.Width
local offsetX : Geom.Size * Size.SlightlySmall.size / 2
local radius : Geom.Size * Size.SlightlySmall.size
local stroke Size.SlightlySmall.sw
local offsetX : radius / 2 - stroke / 4
include : union
with-transform [Translate offsetX 0] : refer-glyph : MangleName 'whiteSlightlySmallCircle'
with-transform [Translate (-offsetX) 0] : refer-glyph : MangleName 'whiteSlightlySmallCircle'
Expand Down

0 comments on commit 454ad67

Please sign in to comment.