Skip to content

Commit

Permalink
chore: Remove system default fonts due to license mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
mitelg committed Sep 25, 2024
1 parent a79d9fa commit f88baa7
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 33 deletions.
Binary file removed engine/Library/Mpdf/ttfonts/arial.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/arialbd.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/arialbi.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/ariali.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/cour.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/courbd.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/courbi.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/couri.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/georgia.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/georgiab.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/georgiai.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/georgiaz.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/times.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/timesbd.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/timesbi.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/timesi.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/verdana.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/verdanab.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/verdanai.ttf
Binary file not shown.
Binary file removed engine/Library/Mpdf/ttfonts/verdanaz.ttf
Binary file not shown.
35 changes: 2 additions & 33 deletions engine/Shopware/Configs/Default.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
// Passed to \Mpdf\Mpdf::__construct:
'defaultConfig' => [
'tempDir' => $this->getCacheDir() . '/mpdf/',
'fontDir' => [$this->DocPath('engine_Library_Mpdf_ttfonts_')],
'fontDir' => [],
'fonttrans' => [
'helvetica' => 'arial',
'verdana' => 'arial',
Expand All @@ -388,38 +388,7 @@
'ocr-b10bt' => 'ocrb',
'damase' => 'mph2bdamase',
],
'fontdata' => [
'arial' => [
'R' => 'arial.ttf',
'B' => 'arialbd.ttf',
'I' => 'ariali.ttf',
'BI' => 'arialbi.ttf',
],
'couriernew' => [
'R' => 'cour.ttf',
'B' => 'courbd.ttf',
'I' => 'couri.ttf',
'BI' => 'courbi.ttf',
],
'georgia' => [
'R' => 'georgia.ttf',
'B' => 'georgiab.ttf',
'I' => 'georgiai.ttf',
'BI' => 'georgiaz.ttf',
],
'timesnewroman' => [
'R' => 'times.ttf',
'B' => 'timesbd.ttf',
'I' => 'timesi.ttf',
'BI' => 'timesbi.ttf',
],
'verdana' => [
'R' => 'verdana.ttf',
'B' => 'verdanab.ttf',
'I' => 'verdanai.ttf',
'BI' => 'verdanaz.ttf',
],
],
'fontdata' => [],
'format' => 'A4',
],
],
Expand Down

0 comments on commit f88baa7

Please sign in to comment.