title: "black stain" when extracting page to image on PDFBox 2.0.4
body: <p>Using PDFBox 2.0.4 to extract pages as image, my result page contains multiple "black holes" as shown in the following screen :</p>
  
  <p><a href="https://i.stack.imgur.com/W70vO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W70vO.png" alt="enter image description here"></a></p>
  
  <p>This happen only for this PDF and few others : <a href="http://www.filedropper.com/selection_3" rel="nofollow noreferrer">http://www.filedropper.com/selection_3</a></p>
  
  <p>Here is a simple code (with JavaFX) to reproduce the problem (change the File path after downloading the PDF) :</p>
  
  <pre><code>public class PDFExtractionTest extends Application {
  
      @Override
      public void start(Stage primaryStage) throws Exception {
          FileInputStream inputStream = new FileInputStream(new File("C:\\Users\\John\\Desktop\\selection.pdf"));
          PDDocument document = PDDocument.load(inputStream);
          PDFRenderer pdfRenderer = new PDFRenderer(document);
          BufferedImage bufferedImage = pdfRenderer.renderImage(1);
          Image fxImage = SwingFXUtils.toFXImage(bufferedImage, null);
  
          BorderPane borderPane = new BorderPane();
          ImageView imageView = new ImageView(fxImage);
  
          borderPane.setCenter(imageView);
  
          primaryStage.setScene(new Scene(borderPane, 1024, 768));
          primaryStage.show();
      }
  
       public static void main(String[] args) throws FileNotFoundException {
           launch(args);
       }
  }
  </code></pre>
  
  <p>Here are my dependencies :</p>
  
  <ul>
  <li>pdfbox 2.0.4</li>
  <li>jai-imageio-jpeg2000 1.3.0 (Prevent error : Cannot read JPEG2000 image: Java Advanced Imaging (JAI) Image I/O Tools are not installed)</li>
  <li>levigo-jbig2-imageio 1.6.5 (Prevent error : Cannot read JBIG2 image: jbig2-imageio is not installed)</li>
  </ul>
  
  <p>In the logs I have this, but I don't know if it's the cause of the problem. How can I fix it ?</p>
  
  <pre><code>févr. 01, 2017 11:20:51 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont toUnicode
  AVERTISSEMENT: No Unicode mapping for .notdef (9) in font Times-Bold
  févr. 01, 2017 11:20:51 AM org.apache.pdfbox.rendering.Type1Glyph2D getPathForCharacterCode
  AVERTISSEMENT: No glyph for 9 (.notdef) in font Times-Bold
  févr. 01, 2017 11:20:51 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont toUnicode
  AVERTISSEMENT: No Unicode mapping for .notdef (9) in font Helvetica
  févr. 01, 2017 11:20:51 AM org.apache.pdfbox.rendering.Type1Glyph2D getPathForCharacterCode
  AVERTISSEMENT: No glyph for 9 (.notdef) in font Helvetica
  </code></pre>
  
  <p>Did I miss something in the code or should I report a bug ?</p>