_set_segments must now handle 'curveTo' segments as well
since we let them pass now, and we only stop at the end
This commit is contained in:
parent
af4d7abb63
commit
0b41ba3521
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user