Merge pull request #1509 from khaledhosny/pointpen

A couple ufoLib.pointPen → pens.pointPen
This commit is contained in:
Just van Rossum 2019-02-15 08:03:42 +01:00 committed by GitHub
commit 9f80939576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -774,8 +774,8 @@ class _TTGlyphGlyf(_TTGlyph):
glyph.draw(pen, glyfTable, offset) glyph.draw(pen, glyfTable, offset)
def drawPoints(self, pen): def drawPoints(self, pen):
"""Draw the glyph onto PointPen. See ufoLib.pointPen for details """Draw the glyph onto PointPen. See fontTools.pens.pointPen
how that works. for details how that works.
""" """
glyfTable = self._glyphset._glyphs glyfTable = self._glyphset._glyphs
glyph = self._glyph glyph = self._glyph

View File

@ -21,8 +21,8 @@ import fs.osfs
import fs.path import fs.path
from fontTools.misc.py23 import basestring, unicode, tobytes, tounicode from fontTools.misc.py23 import basestring, unicode, tobytes, tounicode
from fontTools.misc import plistlib from fontTools.misc import plistlib
from fontTools.pens.pointPen import AbstractPointPen, PointToSegmentPen
from fontTools.ufoLib.errors import GlifLibError from fontTools.ufoLib.errors import GlifLibError
from fontTools.ufoLib.pointPen import AbstractPointPen, PointToSegmentPen
from fontTools.ufoLib.filenames import userNameToFileName from fontTools.ufoLib.filenames import userNameToFileName
from fontTools.ufoLib.validators import ( from fontTools.ufoLib.validators import (
genericTypeValidator, genericTypeValidator,