getFont(c, style), box.getSubstring());
getFont(c), box.getSubstring());
    public static Rectangle2D getTextBounds(Context c, InlineTextBox box) {        CalculatedStyle style = c.getCurrentStyle();        return c.getTextRenderer().getLogicalBounds(c.getGraphics(),                getFont(c, style), box.getSubstring());    }