Fix widths of multi-dot punctuation under QP. (#2256)

This commit is contained in:
John McWilliams 2024-03-26 01:13:51 -04:00 committed by GitHub
parent a2599b2f9c
commit b268fbfa8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 15 deletions

1
changes/29.0.5.md Normal file
View file

@ -0,0 +1 @@
* Fix side bearings of multi-dot punctuation (`U+10FB`, `U+2056`, `U+2058`..`205B`, `U+2E2A`..`U+2E2D`) under Quasi-Proportional.

View file

@ -25,21 +25,11 @@ glyph-block Symbol-Punctuation-Small : begin
local df : include : DivFrame para.diversityF local df : include : DivFrame para.diversityF
include : DrawAt df.middle (CAP - PeriodRadius * kDotRadius) (PeriodRadius * kDotRadius - overshoot) include : DrawAt df.middle (CAP - PeriodRadius * kDotRadius) (PeriodRadius * kDotRadius - overshoot)
create-glyph "smallPeriod.\(suffix)" : glyph-proc create-glyph "smallPeriod.\(suffix)" : DrawAt Middle (DotRadius * kDotRadius) (DotRadius * kDotRadius - overshoot)
local df : include : DivFrame para.diversityF create-glyph "halfXhSmallPeriod.\(suffix)" : DrawAt Middle (XH / 2) (DotRadius * kDotRadius - overshoot)
include : DrawAt df.middle (DotRadius * kDotRadius) (DotRadius * kDotRadius - overshoot) create-glyph "halfCapSmallPeriod.\(suffix)" : DrawAt Middle (CAP / 2) (DotRadius * kDotRadius - overshoot)
create-glyph "halfXhSmallPeriod.\(suffix)" : glyph-proc create-glyph "xhSmallPeriod.\(suffix)" : DrawAt Middle (XH - DotRadius * kDotRadius) (DotRadius * kDotRadius - overshoot)
local df : include : DivFrame para.diversityF create-glyph "capSmallPeriod.\(suffix)" : DrawAt Middle (CAP - DotRadius * kDotRadius) (DotRadius * kDotRadius - overshoot)
include : DrawAt df.middle (XH / 2) (DotRadius * kDotRadius - overshoot)
create-glyph "halfCapSmallPeriod.\(suffix)" : glyph-proc
local df : include : DivFrame para.diversityF
include : DrawAt df.middle (CAP / 2) (DotRadius * kDotRadius - overshoot)
create-glyph "xhSmallPeriod.\(suffix)" : glyph-proc
local df : include : DivFrame para.diversityF
include : DrawAt df.middle (XH - DotRadius * kDotRadius) (DotRadius * kDotRadius - overshoot)
create-glyph "capSmallPeriod.\(suffix)" : glyph-proc
local df : include : DivFrame para.diversityF
include : DrawAt df.middle (CAP - DotRadius * kDotRadius) (DotRadius * kDotRadius - overshoot)
select-variant 'period' '.' (follow -- 'punctuationDot') select-variant 'period' '.' (follow -- 'punctuationDot')