Replies: 3   Views: 2620
Font change when generating pdf
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 AurelienC  · 08-08-2018 - 16:02


I have a .docx template file and if I generate a file in .docx format, the generated file respect the template.

However, generating a .pdf file messes the whole thing : the font change (it goes from Arial in the template to Times New Roman in the generated file) and some space or alignment change.

I think there's something wrong in the template file because it works fine with other template.

What could be wrong in the template ?