def _lineTo(self, (x, y)):
        count = self.stepsForSegment((x,y),self.lastPoint)
        if count < 1:
            count = 1
        self.subsegmentCount += count
        self.subsegments[self.contourIndex].append([self.subsegmentCount, count])
        for i in range(1,count+1):
            x1 = self.lastPoint[0] + (x - self.lastPoint[0]) * i/float(count)
            y1 = self.lastPoint[1] + (y - self.lastPoint[1]) * i/float(count)
            self.otherPen.lineTo((x1,y1))
        self.lastPoint = (x,y)
dataset/ETHPy150Open google/roboto/scripts/lib/fontbuild/curveFitPen.py/SubsegmentPen._lineTo/original