Replies: 3   Views: 3997
Pdf merger adding font
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 07-06-2016 - 16:01


There's no option to acomplish what you need, so you should change the library code. You should change the method mergePdf in the MultiMerge class using the SetFont method from TCPDF to embed a new font. This is the signature of the method available in lib/fpdf-tpl/fpdf-tpl.php:

public function SetFont($family, $style = '', $size = 0)

You can read more information about this method on: