We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d907fff commit 9a423cfCopy full SHA for 9a423cf
tests/PhpWordTests/PhpWordTest.php
@@ -82,6 +82,18 @@ public function testSetGetDefaultFontSize(): void
82
self::assertEquals($fontSize, $phpWord->getDefaultFontSize());
83
}
84
85
+ /**
86
+ * Test set/get default asian font name.
87
+ */
88
+ public function testSetGetDefaultAsianFontName(): void
89
+ {
90
+ $phpWord = new PhpWord();
91
+ $fontName = 'Times New Roman';
92
+ self::assertEquals(Settings::DEFAULT_FONT_NAME, $phpWord->getDefaultAsianFontName());
93
+ $phpWord->setDefaultAsianFontName($fontName);
94
+ self::assertEquals($fontName, $phpWord->getDefaultAsianFontName());
95
+ }
96
+
97
/**
98
* Test set default paragraph style.
99
*/
0 commit comments