Rectangle2D box_rect = new Rectangle(box.x, box.y, box.width, box.height + 1); if (oldclip.intersects(box_rect)) {
Rectangle2D box_rect = new Rectangle(box.x, box.y, box.width, box.height);  if (oldclip.intersects(box_rect) || (box instanceof AnonymousBlockBox)) {
    public void paintChild(Context c, Box box, Renderer layout) {        if (box.isChildrenExceedBounds()) {            layout.paint(c, box);            return;        }        if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) {            if (c.getGraphics().getClip() != null) {                Rectangle2D oldclip = (Rectangle2D) c.getGraphics().getClip();                Rectangle2D box_rect = new Rectangle(box.x, box.y, box.width, box.height + 1);                if (oldclip.intersects(box_rect)) {                    layout.paint(c, box);                }                return;            }        }        layout.paint(c, box);    }