fixed the shape of bold-italic 'x'.

This commit is contained in:
be5invis 2015-12-08 00:51:26 +08:00
parent f86723cc8a
commit 407dbec964
2 changed files with 5 additions and 6 deletions

View File

@ -475,7 +475,7 @@ define [HookShape toStraight toFinish isStart y tight s kkaf] : begin
local u : Math.abs (toFinish.x - toStraight.x)
local mixr : determineMixR w v
local mx ([mix toStraight.x toFinish.x mixr] + ([if tight 0 : if atBottom 1 (-1)] * CORRECTION_OMIDX) * [fallback s STROKE])
local keyKnot : g4.[if ltr "right" "left"].mid mx y [if tight [heading [if ltr RIGHTWARD LEFTWARD]] kkaf]
local keyKnot : g4.[if ltr "right" "left"].mid mx y [fallback kkaf : if tight [heading [if ltr RIGHTWARD LEFTWARD]] nothing]
local segBefore {}
local segAfter {}

View File

@ -296,13 +296,12 @@ symbol-block 'X'
local p 0.85
local fine : STROKE * 0.8
include : dispiro
widths.rhs
g4 (SB + O * 3) (XH - HOOK)
hookstart (XH - O)
g4 (SB + O * 3) (XH - HOOK) [widths.rhs MVERTSTROKE]
hookstart (XH - O) true nothing [widths.heading 0 STROKE RIGHTWARD]
flat (MIDDLE + (fine - HALFSTROKE) * CORRECTION_HX) (XH - SMALLSMOOTH * p) [widths.heading 0 fine DOWNWARD]
curl (MIDDLE + (fine - HALFSTROKE) * CORRECTION_HX) (0 + SMALLSMOOTH * p) [heading DOWNWARD]
hookend O false nothing [widths.rhs]
g4 (SB + O * 3) HOOK
hookend O true nothing [widths.heading 0 STROKE LEFTWARD]
g4 (SB + O * 3) HOOK [widths.rhs MVERTSTROKE]
include eMarks
include g