mPDF Manual – Configuration

Configuration files v5.x

(mPDF ≥ 4.0 & < 6.0)

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

File name Details mPDF < 4.0
config.php 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. These values were defined at the start of the mpdf.php file.
config_cp.php Sets the options used for specified languages e.g. restricted fonts when appropriate. This was contained in the function GetCodepage() in the htmltoolkit.php file.
config_fonts.php Details of fonts installed in mPDF. Previously in mpdf_config.php file.
Fork me on GitHub