- BufferedImage image = glyphMaker.getImage(cell, getTextWidth() * 2,
- getTextHeight());
- BufferedImage leftImage = image.getSubimage(0, 0, getTextWidth(),
- getTextHeight());
- BufferedImage rightImage = image.getSubimage(getTextWidth(), 0,
- getTextWidth(), getTextHeight());
-
- Cell left = new Cell();
- left.setTo(cell);
+ BufferedImage image = glyphMaker.getImage(cell, cellWidth * 2,
+ cellHeight);
+ BufferedImage leftImage = image.getSubimage(0, 0, cellWidth,
+ cellHeight);
+ BufferedImage rightImage = image.getSubimage(cellWidth, 0, cellWidth,
+ cellHeight);
+
+ Cell left = new Cell(cell);