Hi,
I am using setDefaultFont method to change the font family of the document by opening the template using CreateDocxFromTemplate method, but it does not work.
However, when I add new text and apply font it works fine but does not change the default font.
I am using the premium license.
Here is my whole script:
$docx = new \Phpdocx\Create\CreateDocxFromTemplate($tempFilePath);
$docx->setDefaultFont('Arial');
$docx->createDocx($new_file_path);
Thanks & Regards