Merge pull request #2770 from fonttools/cff-glyphset-drawpoints
[ttLib] make glyphset[gn].drawPoints(pointPen) work for CFF
This commit is contained in:
commit
21058f61a4
@ -79,8 +79,8 @@ class _TTGlyph(object):
|
|||||||
self._glyph.draw(pen)
|
self._glyph.draw(pen)
|
||||||
|
|
||||||
def drawPoints(self, pen):
|
def drawPoints(self, pen):
|
||||||
# drawPoints is only implemented for _TTGlyphGlyf at this time.
|
from fontTools.pens.pointPen import SegmentToPointPen
|
||||||
raise NotImplementedError()
|
self.draw(SegmentToPointPen(pen))
|
||||||
|
|
||||||
class _TTGlyphCFF(_TTGlyph):
|
class _TTGlyphCFF(_TTGlyph):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user