Forum


Replies: 4   Views: 3412
Font size ignored ?
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 WTO  · 12-02-2018 - 14:50

I just downloaded the latest 7.5 (licensed, advanced, so not a trial version), and the font size doesn't work. In fact, the official documentation example shown here: https://www.phpdocx.com/api-documentation/layout-and-general/create-Word-custom-paragraph-style-with-PHP doesn't work. The font size is set to 26, but the screenshot clearly shows a much smaller font. 

Executing the example found at examples/LayoutAndGeneral/createParagraphStyle/sample_2.php doesn't work either. The font will always remain at the default size.