<div dir="ltr">Hello <div><br></div><div>I'm using GDAL 2.1.2 with added patch to PDF driver made by Even Rouault (<a href="https://trac.osgeo.org/gdal/changeset/34856/">https://trac.osgeo.org/gdal/changeset/34856/</a>). I'm trying to correctly create PDF maps for printing in specified page format and DPI value. </div><div><br></div><div>According to this page <a href="http://www.papersizes.org/a-sizes-in-pixels.htm">http://www.papersizes.org/a-sizes-in-pixels.htm</a> I was preparing raster file in appropriate resolution:</div><div>A4 with 72 DPI = 595 x 842</div><div>A4 with 300 DPI = 2480 x 3508</div><div>A4 with 600 DPI = 4960 x 7016</div><div><br></div><div>Then i used CreateCopy  with  DPI value set to desired one and WRITE_USERUNIT to yes.</div><div>When i check created files with gdalinfo all looks fine. The DPI value and raster size <br></div><div>matches above values.  But when I open files in Adobe Reader the reported size of page is correct only for 72 DPI. For example:</div><div><br></div><div>gdalinfo                                     Adobe Reader</div><div> 72 DPI, 595 x 842                    210 x 297 mm<br></div><div> 300 DPI, 2480 x 3508              874.9 x 1 237.5 mm</div><div> 600 DPI, 4960 x 7016              1750 x 2 475 mm</div><div><br></div><div>I've noticed that the  size reported by Adobe Reader match rule:</div><div>DPI / 72 * 210 x DPI / 72 * 297</div><div><br></div><div>Now I'm completely confused. Sitting on this subject for few weeks now, any clues or explanation of this behavior are highly appreciated.</div><div><br></div><div>Best regards</div><div><br></div><div><br></div></div>