This project is read-only.
1
Vote

How to embed and external font into the Word doc

description

Hi, PHPWord has been working wonderfully for me for last couple of years but I am running into an issue now. I have to use an external font into the document.
PHPWord allows me to set the font name which is great as far as the computer the word document is being opened has the said font installed.

MS Word allows to embed the font being used into the document so that it loads the font correctly even if the font used does not exist on the system (see attached).

How can I use PHPWord library to embed the font into the doc? I don't mind making changes to the library if needed.

Thanks.

file attachments

comments