mPDF Manual – mPDF Variables


When Embedding full TTF font files, setting this variable to true forces mPDF to remake the font file using only core tables.

This may improve function with some PostScript printers (GhostScript/GSView)

$this->repackageTTF = false;

Default: false

Does not work with TTC font collections

Produces a slightly smaller PDF file; increased processing time.

Fork me on GitHub