//float originx = 0F,originy = 0F;
CustomPathHandler pathHandler = new CustomPathHandler();
while (offset < count) {
Point point = glyph.getPoint(startIndex + offset%count);
Point point_plus1 = glyph.getPoint(startIndex + (offset+1)%count);
Point point_plus2 = glyph.getPoint(startIndex + (offset+2)%count);
float pointx = ((float)point.x);
float pointy = ((float)point.y);
float point_plus1x = ((float)point_plus1.x);
float point_plus1y = ((float)point_plus1.y);