Skip to content

Commit 3daaffa

Browse files
committed
support for eastAsia fontstyle
1 parent 595bcc3 commit 3daaffa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Classes/PHPWord/Writer/Word2007/Base.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ protected function _writeTextStyle(PHPWord_Shared_XMLWriter $objWriter = null, P
388388
$objWriter->startElement('w:rFonts');
389389
$objWriter->writeAttribute('w:ascii', $font);
390390
$objWriter->writeAttribute('w:hAnsi', $font);
391+
$objWriter->writeAttribute('w:eastAsia', $font);
391392
$objWriter->writeAttribute('w:cs', $font);
392393
$objWriter->endElement();
393394
}

0 commit comments

Comments
 (0)