(mPDF >= 4.5)
dpi – Specify size conversion for objects using pixels
Specify how to convert sizes specified in "px" units (pixels). As a print medium, PDF documents do not have any inherent size for pixels. Any values set for e.g. font-size, border-width etc. need to be converted to a real length. The dots-per-inch (dpi) affects all conversions from pixels except images, which are set by a separate variable img_dpi
Note: It is recommended that the values for dpi and img_dpi are the same.
Note: This variable can be changed in the configuration file config.php
INTEGER : set conversion for pixel - dots per inch
|4.5||Variable was added.|