Skip to content

Commit

Permalink
#211 Significantly increased PDF file size
Browse files Browse the repository at this point in the history
#211 Significantly increased PDF file size
  • Loading branch information
horstoeko authored Dec 11, 2024
2 parents e7838ae + e2ee3d1 commit 6c83831
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ZugferdSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class ZugferdSettings
*
* @var string
*/
protected static $iccProfileFilename = "sRGB_v4_ICC.icc";
protected static $iccProfileFilename = "sRGB2014.icc";

/**
* The filename of the XMP meta data
Expand Down
Binary file added src/assets/sRGB2014.icc
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/testcases/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function tearDownAfterClass(): void
ZugferdSettings::setMeasureDecimals(2);
ZugferdSettings::setDecimalSeparator(".");
ZugferdSettings::setThousandsSeparator("");
ZugferdSettings::setIccProfileFilename("sRGB_v4_ICC.icc");
ZugferdSettings::setIccProfileFilename("sRGB2014.icc");
}

public function testAmountDecimals(): void
Expand Down Expand Up @@ -103,7 +103,7 @@ public function testThousandsSeparator(): void

public function testIccProfileFilename(): void
{
$this->assertEquals("sRGB_v4_ICC.icc", ZugferdSettings::getIccProfileFilename());
$this->assertEquals("sRGB2014.icc", ZugferdSettings::getIccProfileFilename());

ZugferdSettings::setIccProfileFilename("sRGB_v5_ICC.icc");

Expand Down

0 comments on commit 6c83831

Please sign in to comment.