Skip to content

Commit 4c1c127

Browse files
authored
Update Header.php - Register Default Color
1 parent c4fbd60 commit 4c1c127

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PhpWord/Writer/RTF/Part/Header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ private function registerFont(): void
188188
{
189189
$phpWord = $this->getParentWriter()->getPhpWord();
190190
$this->fontTable[] = Settings::getDefaultFontName();
191+
$this->colorTable[] = Settings::getDefaultFontColor();
191192

192193
// Search named styles
193194
$styles = Style::getStyles();

0 commit comments

Comments
 (0)