@Override public void process(Operator operator, List<COSBase> arguments) throws IOException { if (context.getGraphicsStackSize() > 1) { context.restoreGraphicsState(); } else { // this shouldn't happen but it does, see PDFBOX-161 throw new EmptyGraphicsStackException(); } }
@Override public void process(Operator operator, List<COSBase> arguments) throws IOException { if (context.getGraphicsStackSize() > 1) { context.restoreGraphicsState(); } else { // this shouldn't happen but it does, see PDFBOX-161 throw new EmptyGraphicsStackException(); } }
@Override public void process(Operator operator, List<COSBase> arguments) throws IOException { if (context.getGraphicsStackSize() > 1) { context.restoreGraphicsState(); } else { // this shouldn't happen but it does, see PDFBOX-161 throw new EmptyGraphicsStackException(); } }