c.getCurrentFont(), sample);
box.getStyle().getFont(c.getCtx()), sample);
    public static LineMetrics getLineMetrics(Context c, InlineBox box) {        String sample = "Test";        if ((box instanceof InlineTextBox) && !((InlineTextBox) box).getSubstring().equals("")) {            sample = ((InlineTextBox) box).getSubstring();        }        return c.getTextRenderer().getLineMetrics(c.getGraphics(),                c.getCurrentFont(), sample);    }