title: Page size in PDF generated by wkhtmltopdf is 25% smaller than expected
body: <p>I am using the following CSS a web page that the user will print: </p>
  
  <pre><code>.page {
      padding: 1.04cm 1.54cm 1.04cm 1.54cm;
      width: 21cm;
      min-height: 29.7cm;
      height: 29.7cm;
  }
  </code></pre>
  
  <p>When using Print Preview in Google Chrome or IE, it looks fine: the content in the page fills in the full 21cm of width and 29cm of height of the page. </p>
  
  <p>However, the content in a PDF created from the same page using <code>wkhtmltopdf</code> only occupies 75% of the available width, as if the centimeters for <code>wkhtmltopdf</code> are different. </p>
  
  <p><a href="https://i.stack.imgur.com/dO8p7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dO8p7.png" alt="enter image description here"></a></p>
  
  <p>I run <code>wkhtmltopdf</code> without any extra options. </p>
  
  <p>If I set the width and height to <code>100%</code>, it works, but the font size is still small. Thus, I also have to increase the font size from 9pt to 12pt to achieve about the same look in the PDF as in Chrome's print preview.</p>
  
  <p>I've verified in my PDF reader that the page size of the PDF file is actually 21x29 cm, the standard A4 size. </p>
  
  <p>What am I missing? Are "centimeters" meaning different things for the browser and for <code>wkhtmltopdf</code>? </p>