mPDF Manual – Configuration

Configuration files v6.x

(mPDF ≥ 6.0 & < 7.0)

Four configuration files are included in the root directory of mPDF:

File name Details

Configure most variables which affect mPDF. These values can be set at the beginning of individual scripts, but changes here will affect all of your PDF files.

Also contains basic default CSS stylesheet properties.

config_fonts.php Details of fonts installed in mPDF.

Sets the options used for which fonts to use, when the text is defined by the lang attribute.

config_script2lang.php Sets the options of which lang to mark up text with, when using automatic font selection based on the text script.
Fork me on GitHub