From 0b41ba3521a84aa613fdde630db6547292896608 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Thu, 18 Jan 2018 14:33:49 +0000 Subject: [PATCH] _set_segments must now handle 'curveTo' segments as well since we let them pass now, and we only stop at the end --- Lib/cu2qu/ufo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/cu2qu/ufo.py b/Lib/cu2qu/ufo.py index d7b914a50..3ef899dac 100644 --- a/Lib/cu2qu/ufo.py +++ b/Lib/cu2qu/ufo.py @@ -113,6 +113,8 @@ def _set_segments(glyph, segments, reverse_direction): pen.moveTo(*args) elif tag == 'line': pen.lineTo(*args) + elif tag == 'curve': + pen.curveTo(*args[1:]) elif tag == 'qcurve': pen.qCurveTo(*args[1:]) elif tag == 'close':