c.getCurrentFont(), box.getSubstring());
box.getStyle().getFont(c.getCtx()), box.getSubstring());
    public static Rectangle2D getTextBounds(Context c, InlineTextBox box) {        return c.getTextRenderer().getLogicalBounds(c.getGraphics(),                c.getCurrentFont(), box.getSubstring());    }