public void putLine(Graphics g, String font, int x, int yBase, int width, int rowHeight, String str) {
		RowParameters rowParameters = calcRowParameters(new Font(font, Font.PLAIN, rowHeight), str, rowHeight, width);
		g.setFont(rowParameters.getAdjustedFont());
		g.drawString(shrinkStringToFit(str, width, rowParameters.getAdjustedFont()), x, yBase + (int)rowParameters.getAsc());
	}