From c656239069e79f307056e08cb7c9b3aac9e8319d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 May 2021 19:04:26 +0000 Subject: [PATCH 1/2] Update friendsofphp/php-cs-fixer requirement from ^2.2 to ^2.2 || ^3.0 Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to permit the latest version. - [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases) - [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/3.0/CHANGELOG.md) - [Commits](https://github.com/FriendsOfPHP/PHP-CS-Fixer/compare/v2.2.0...v3.0.0) Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 19e7689c68..c7e87548a9 100644 --- a/composer.json +++ b/composer.json @@ -67,7 +67,7 @@ "ext-gd": "*", "phpunit/phpunit": "^4.8.36 || ^7.0", "squizlabs/php_codesniffer": "^2.9 || ^3.5", - "friendsofphp/php-cs-fixer": "^2.2", + "friendsofphp/php-cs-fixer": "^2.2 || ^3.0", "phpmd/phpmd": "2.*", "phploc/phploc": "2.* || 3.* || 4.* || 5.* || 6.* || 7.*", "dompdf/dompdf":"0.8.* || 1.0.*", From c955c3b01e7184781027f79c996fbc194ad55525 Mon Sep 17 00:00:00 2001 From: Artem Kolotilkin Date: Wed, 12 May 2021 09:04:14 -0400 Subject: [PATCH 2/2] Added support for Garamond font --- src/PhpWord/Writer/Word2007/Part/FontTable.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/PhpWord/Writer/Word2007/Part/FontTable.php b/src/PhpWord/Writer/Word2007/Part/FontTable.php index 1161a951e6..40e414e01d 100644 --- a/src/PhpWord/Writer/Word2007/Part/FontTable.php +++ b/src/PhpWord/Writer/Word2007/Part/FontTable.php @@ -101,6 +101,15 @@ public function write() 'w:csb0="0000019F" w:csb1="00000000" />'; $str .= ''; + $str .= ''; + $str .= ''; + $str .= ''; + $str .= ''; + $str .= ''; + $str .= ''; + $str .= ''; + $str .= ''; return $str;