Fix overshoot of hooks at bottom
This commit is contained in:
parent
67ca6979e2
commit
ad824f4094
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ glyph-block CommonShapes : begin
|
|||
local doSwash : !noSwash && !isStart && atBottom && (para.isItalic || isTail) && [if (para.slopeAngle >= 0) ltr [not ltr]]
|
||||
local superness DesignParameters.superness
|
||||
|
||||
local y : yRef + [if dtu (-1) 1] * overshoot
|
||||
local y : yRef + [if (yRef > toFinish.y) (-1) 1] * overshoot
|
||||
|
||||
# Adjust terminal's position if necessary
|
||||
toFinish.x = toFinish.x + OXHook * [if ltr (-1) 1] * [if isStart (-1) 1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue