title: Force MuPDF to draw page background as well
body: <p>When I call <code>fz_run_page()</code> MuPDF only draws the actual PDF objects onto the pixmap</p>
  
  <p><strong>(e.g. text, images, vector graphics, etc.)</strong>. </p>
  
  <p>It does not draw the page bounding box and fill it with a static color (e.g. white). Is there a way to have MuPDF draw the page background as well? </p>
  
  <p>I know that I could use <code>fz_clear_pixmap_with_value()</code> to manually set the background to a static color before I call <code>fz_run_page().</code> But this solution gets problematic as soon as rotation comes into play because then there will be empty unused spaces at the borders of the rotated PDF page. So it would be very helpful if there was a possibility to have MuPDF draw the page's bounding box first, fill its background to a static color, and then draw the PDF objects like text etc. on it.</p>
  
  <p>Is this possible somehow?</p>
  
  <p>Thanks!</p>