From 70b050b4775c8fea423e073bee7f9f16682fc1e9 Mon Sep 17 00:00:00 2001 From: be5invis Date: Fri, 6 May 2022 21:42:52 -0700 Subject: [PATCH] Enlarged `U+02BE` and `U+02BF` to match the dimensions of other quotes (#1346). --- changes/15.2.1.md | 1 + font-src/glyphs/marks/above.ptl | 6 ++++-- .../glyphs/symbol/punctuation/quotes-and-primes.ptl | 11 +++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 changes/15.2.1.md diff --git a/changes/15.2.1.md b/changes/15.2.1.md new file mode 100644 index 000000000..8606b44ac --- /dev/null +++ b/changes/15.2.1.md @@ -0,0 +1 @@ + * Enlarged `U+02BE` and `U+02BF` to match the dimensions of other quotes (#1346). diff --git a/font-src/glyphs/marks/above.ptl b/font-src/glyphs/marks/above.ptl index 25f230e1e..da77542ff 100644 --- a/font-src/glyphs/marks/above.ptl +++ b/font-src/glyphs/marks/above.ptl @@ -899,8 +899,9 @@ glyph-block Mark-Above : begin set-width 0 set-mark-anchor 'above' markMiddle XH markMiddle aboveMarkStack set-base-anchor 'aboveBrace' markMiddle aboveMarkMid + local [object radiusIn radiusOut] : RingDims include : dispiro - g4.left.start markMiddle aboveMarkTop [widths.heading markFine markFine Leftward] + g4.left.start markMiddle aboveMarkTop [widths.center.heading (radiusOut - radiusIn) Leftward] archv g4.down.mid (markMiddle - (aboveMarkTop - aboveMarkBot) / 2) [mix aboveMarkTop aboveMarkBot 0.5] [heading Downward] arcvh @@ -911,8 +912,9 @@ glyph-block Mark-Above : begin set-width 0 set-mark-anchor 'above' markMiddle XH markMiddle aboveMarkStack set-base-anchor 'aboveBrace' markMiddle aboveMarkMid + local [object radiusIn radiusOut] : RingDims include : dispiro - g4.right.start markMiddle aboveMarkTop [widths.heading markFine markFine Rightward] + g4.right.start markMiddle aboveMarkTop [widths.center.heading (radiusOut - radiusIn) Rightward] archv g4.down.mid (markMiddle + (aboveMarkTop - aboveMarkBot) / 2) [mix aboveMarkTop aboveMarkBot 0.5] [heading Downward] arcvh diff --git a/font-src/glyphs/symbol/punctuation/quotes-and-primes.ptl b/font-src/glyphs/symbol/punctuation/quotes-and-primes.ptl index e99f06469..b3f7a4eec 100644 --- a/font-src/glyphs/symbol/punctuation/quotes-and-primes.ptl +++ b/font-src/glyphs/symbol/punctuation/quotes-and-primes.ptl @@ -174,3 +174,14 @@ glyph-block Symbol-Punctuation-Quotes-And-Primes : begin include : Translate (-dist * 2) 0 include : refer-glyph "asciiSingleQuote.straight" include : Translate (dist + Middle - dfSingle.middle) 0 + + # Half-circle modifiers, use quote dimensions + create-glyph 'modifierLetterLeftHalfRing' 0x2BF : glyph-proc + local height : quoteTop - quoteBottom + include : dispiro + g4.left.start (Middle + height / 4) (quoteTop - O) [widths.lhs.heading [AdviceStroke 3] Leftward] + archv + g4.down.mid (Middle - height / 4 + O) [mix quoteBottom quoteTop 0.5] [widths.lhs.heading [AdviceStroke 3.5] Downward] + arcvh + g4.right.end (Middle + height / 4) (quoteBottom + O) [widths.lhs.heading [AdviceStroke 3] Rightward] + turned 'modifierLetterRightHalfRing' 0x2BE 'modifierLetterLeftHalfRing' Middle [mix quoteBottom quoteTop 0.5]