Parsing HTML font size problems on PHPocX?
- Sep 02, 2010
This information is outdated, please, refer to the HTML to Word documentation for up to date info.
If you are using addhtml() for generating a .docx file, you must remember that PHPdocX is very smart, but Word don’t understand things like “medium” or “big”.
Code like this:
This will insert the name in the document: The Name
Will be no rendered. You must specify the font size as pixels on font-size’s tag like this:
This will insert the name in the document: