comment typo fix, reflow

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@422 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
jvr 2003-08-25 13:20:38 +00:00
parent 808c7885bd
commit 1c9917bcf4

View File

@ -42,7 +42,7 @@ Dumping 'prep' table...
""" """
# #
# $Id: __init__.py,v 1.39 2003-08-25 13:15:50 jvr Exp $ # $Id: __init__.py,v 1.40 2003-08-25 13:20:38 jvr Exp $
# #
import sys import sys
@ -622,8 +622,9 @@ class _TTGlyph:
contour.append(None) contour.append(None)
pen.qCurveTo(*contour) pen.qCurveTo(*contour)
else: else:
# Shuffle the points so that contour is guaranteed to *end* # Shuffle the points so that contour the is guaranteed
# in an on-curve point, which we'll use for the moveTo. # to *end* in an on-curve point, which we'll use for
# the moveTo.
firstOnCurve = cFlags.index(1) + 1 firstOnCurve = cFlags.index(1) + 1
contour = contour[firstOnCurve:] + contour[:firstOnCurve] contour = contour[firstOnCurve:] + contour[:firstOnCurve]
cFlags = cFlags[firstOnCurve:] + cFlags[:firstOnCurve] cFlags = cFlags[firstOnCurve:] + cFlags[:firstOnCurve]