![]() Get access to thousands of free calligraphic designs, typefaces and fonts in Chinese Languages. The same change has been included in the current development branch and will be added to the next release of phpdocx. Download free hundreds of Chinese fonts for Personal and Commercial Use. Replace it by: protected function generateRFONTS($font) $this->_xml = str_replace('_GENERATERPR_', $xml, $this->_xml) If you want to add support for w:eastAsian attribute in addText method with the font option without using custom paragraph/character styles, please edit CreateElement.php, and go to generateRFONTS method, instead of: protected function generateRFONTS($font) ![]() $docx->createParagraphStyle('myStyle', $style) Looking for Asian fonts Click to find the best 239 free fonts in the Asian style. We recommend you to use custom paragraph styles (and custom character styles if needed), both methods createParagraphStyle and createCharacterStyle support w:eastAsian attributes: // style options The problem comes from one missing attribute support when using the font option with addText: w:eastAsia is not being applied and your font needs it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |