Make combining lines connect left and right (#590).

This commit is contained in:
Belleve Invis 2020-06-08 20:22:03 -07:00
parent 06cff03b7f
commit be3bfb400f
3 changed files with 23 additions and 4 deletions

View file

@ -12,4 +12,5 @@
* Allow the user to customize the characters' width freely (#554).
* Fix placement of descenders in U+04AC/U+04AD CYRILLIC CAPITAL/SMALL LETTER TE WITH DESCENDER (#585).
* Fix shape of U+01A6 LATIN LETTER YR under curly variant (#586).
* Fix serif placement of U+044E CYRILLIC SMALL LETTER YU under Bulgarian locale (#587).
* Fix serif placement of U+044E CYRILLIC SMALL LETTER YU under Bulgarian locale (#587).
* Make combining lines connect left and right (#590).

View file

@ -342,6 +342,17 @@ glyph-block Overmarks : begin
flat (SB - Width) (XH + Accent) [widths markHalfStroke markHalfStroke]
curl (RightSB - Width) (XH + Accent)
save 'sbOverlineAbove'
sketch # overlineAbove
set-width 0
currentGlyph.shortName = 'overline'
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include : dispiro
flat (0 - Width) (XH + Accent) [widths markHalfStroke markHalfStroke]
curl 0 (XH + Accent)
save 'overlineAbove' 0x305
sketch # dblOverlineAbove
@ -350,8 +361,15 @@ glyph-block Overmarks : begin
local boxsw : Math.min (markFine * 2) ((aboveMarkTop - aboveMarkBot) / 3)
include : HBarBottom (SB - Width) (RightSB - Width) aboveMarkBot boxsw
include : HBarTop (SB - Width) (RightSB - Width) aboveMarkTop boxsw
include : dispiro
widths.lhs boxsw
flat (0 - Width) aboveMarkBot
curl 0 aboveMarkBot
include : dispiro
widths.rhs boxsw
flat (0 - Width) aboveMarkTop
curl 0 aboveMarkTop
save 'dblOverlineAbove' 0x33F

View file

@ -1402,7 +1402,7 @@ glyph-block Symbol-Math-APL : begin
composite [refer-glyph 'enquad'] [aplBoxed : refer-glyph 'increment'] [into-unicode 0x234D]
composite [refer-glyph 'enquad'] [Overlay [refer-glyph 'arrowup.NWID'] [refer-glyph 'minus']] [into-unicode 0x234F]
composite [refer-glyph 'enquad'] [aplBoxed : refer-glyph 'arrowup.NWID'] [into-unicode 0x2350]
composite [refer-glyph 'top'] MarkSet.tack [refer-glyph 'overlineAbove'] [clear-anchors] [into-unicode 0x2351]
composite [refer-glyph 'top'] MarkSet.tack [refer-glyph 'sbOverlineAbove'] [clear-anchors] [into-unicode 0x2351]
composite [refer-glyph 'enquad'] [Overlay [refer-glyph 'nabla'] [refer-glyph 'aplLongBar']] [into-unicode 0x2352]
composite [refer-glyph 'enquad'] [aplBoxed : refer-glyph 'wedge'] [into-unicode 0x2353]
composite [refer-glyph 'enquad'] [aplBoxed : refer-glyph 'nabla'] [into-unicode 0x2354]