diff --git a/.gitignore b/.gitignore index b3a89a93..b6cf7cc7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,6 @@ /example/HtmlOutput/html-example.htm /example/FpdfOutput/fpdf_example.pdf /.php-cs-fixer.cache +/.phpunit.result.cache /composer.lock .idea/ diff --git a/README.md b/README.md index f41897e9..8f22ddf9 100644 --- a/README.md +++ b/README.md @@ -79,3 +79,14 @@ The repository contains the official specifications the library is based on: For more official information see - [https://www.six-group.com/en/products-services/banking-services/payment-standardization/standards/qr-bill.html](https://www.six-group.com/en/products-services/banking-services/payment-standardization/standards/qr-bill.html) + +## For contributors of this libray + +How to generate new test data: + +1. Set `$regenerateReferenceFiles = true` in `TestQrBillCreatorTrait` +2. `composer update --prefer-lowest` +3. `vendor/bin/phpunit` – ignore failing tests in `testQrFile` +4. `composer update` +5. `vendor/bin/phpunit` – there should be no more errors +6. Set `$regenerateReferenceFiles = false` in `TestQrBillCreatorTrait` \ No newline at end of file diff --git a/example/FpdfOutput/fpdf-example.php b/example/FpdfOutput/fpdf-example.php index 5dfea9f6..ebc3cb9a 100644 --- a/example/FpdfOutput/fpdf-example.php +++ b/example/FpdfOutput/fpdf-example.php @@ -1,6 +1,7 @@ AddPage(); // 3. Create a full payment part for FPDF $output = new QrBill\PaymentPart\Output\FpdfOutput\FpdfOutput($qrBill, 'en', $fpdf); + +// 4. Optional, set layout options +$displayOptions = new DisplayOptions(); +$displayOptions + ->setPrintable(false) // true to remove lines for printing on a perforated stationery + ->setDisplayTextDownArrows(false) // true to show arrows next to separation text, if shown + ->setDisplayScissors(false) // true to show scissors instead of separation text + ->setPositionScissorsAtBottom(false) // true to place scissors at the bottom, if shown +; + +// 5. Generate the output $output - ->setPrintable(false) + ->setDisplayOptions($displayOptions) ->getPaymentPart(); -// 4. For demo purposes, let's save the generated example in a file +// 6. For demo purposes, let's save the generated example in a file $examplePath = __DIR__ . "/fpdf_example.pdf"; $fpdf->Output($examplePath, 'F'); diff --git a/example/HtmlOutput/html-example.php b/example/HtmlOutput/html-example.php index bc085eda..83a102d3 100644 --- a/example/HtmlOutput/html-example.php +++ b/example/HtmlOutput/html-example.php @@ -1,6 +1,7 @@ setPrintable(false) // true to remove lines for printing on a perforated stationery + ->setDisplayTextDownArrows(false) // true to show arrows next to separation text, if shown + ->setDisplayScissors(false) // true to show scissors instead of separation text + ->setPositionScissorsAtBottom(false) // true to place scissors at the bottom, if shown +; + +// 4. Create a full payment part in HTML $html = $output - ->setPrintable(false) + ->setDisplayOptions($displayOptions) ->getPaymentPart(); -// 3. For demo purposes, let's save the generated example in a file +// 5. For demo purposes, let's save the generated example in a file $examplePath = __DIR__ . '/html-example.htm'; file_put_contents($examplePath, $html); diff --git a/example/TcPdfOutput/tcpdf-example.php b/example/TcPdfOutput/tcpdf-example.php index e71d8729..fb6ca2a0 100644 --- a/example/TcPdfOutput/tcpdf-example.php +++ b/example/TcPdfOutput/tcpdf-example.php @@ -1,6 +1,7 @@ setPrintable(false) // true to remove lines for printing on a perforated stationery + ->setDisplayTextDownArrows(false) // true to show arrows next to separation text, if shown + ->setDisplayScissors(false) // true to show scissors instead of separation text + ->setPositionScissorsAtBottom(false) // true to place scissors at the bottom, if shown +; + +// 5. Generate the output $output - ->setPrintable(false) + ->setDisplayOptions($displayOptions) ->getPaymentPart(); -// 4. For demo purposes, let's save the generated example in a file +// 6. For demo purposes, let's save the generated example in a file $examplePath = __DIR__ . "/tcpdf_example.pdf"; $tcPdf->Output($examplePath, 'F'); diff --git a/src/PaymentPart/Output/AbstractOutput.php b/src/PaymentPart/Output/AbstractOutput.php index cc037488..4a572866 100644 --- a/src/PaymentPart/Output/AbstractOutput.php +++ b/src/PaymentPart/Output/AbstractOutput.php @@ -4,7 +4,6 @@ use Sprain\SwissQrBill\DataGroup\Element\PaymentReference; use Sprain\SwissQrBill\PaymentPart\Output\Element\FurtherInformation; -use Sprain\SwissQrBill\PaymentPart\Output\Element\OutputElementInterface; use Sprain\SwissQrBill\PaymentPart\Output\Element\Placeholder; use Sprain\SwissQrBill\PaymentPart\Output\Element\Text; use Sprain\SwissQrBill\PaymentPart\Output\Element\Title; @@ -15,14 +14,14 @@ abstract class AbstractOutput implements OutputInterface { protected QrBill $qrBill; protected string $language; - protected bool $printable; protected string $qrCodeImageFormat; + private DisplayOptions $displayOptions; public function __construct(QrBill $qrBill, string $language) { $this->qrBill = $qrBill; $this->language = $language; - $this->printable = false; + $this->displayOptions = new DisplayOptions(); $this->qrCodeImageFormat = QrCode::FILE_FORMAT_SVG; } @@ -36,16 +35,36 @@ public function getLanguage(): ?string return $this->language; } + /** + * @deprecated Will be removed in next major release. Use setDisplayOptions() instead. + */ public function setPrintable(bool $printable): static { - $this->printable = $printable; + $this->displayOptions->setPrintable($printable); return $this; } + /** + * @deprecated Will be removed in next major release. Use getDisplayOptions() instead. + */ public function isPrintable(): bool { - return $this->printable; + return $this->displayOptions->isPrintable(); + } + + public function setDisplayOptions(DisplayOptions $displayOptions): static + { + $this->displayOptions = $displayOptions; + + return $this; + } + + public function getDisplayOptions(): DisplayOptions + { + $this->displayOptions->consolidate(); + + return $this->displayOptions; } public function setQrCodeImageFormat(string $fileExtension): static diff --git a/src/PaymentPart/Output/DisplayOptions.php b/src/PaymentPart/Output/DisplayOptions.php new file mode 100644 index 00000000..7da043d2 --- /dev/null +++ b/src/PaymentPart/Output/DisplayOptions.php @@ -0,0 +1,98 @@ +isPrintable; + } + + public function setPrintable(bool $isPrintable): self + { + $this->isPrintable = $isPrintable; + + return $this; + } + + public function isDisplayScissors(): bool + { + return $this->displayScissors; + } + + public function setDisplayScissors(bool $displayScissors): self + { + $this->displayScissors = $displayScissors; + + return $this; + } + + public function isPositionScissorsAtBottom(): bool + { + return $this->positionScissorsAtBottom; + } + + public function setPositionScissorsAtBottom(bool $positionScissorsAtBottom): self + { + $this->positionScissorsAtBottom = $positionScissorsAtBottom; + + return $this; + } + + public function isDisplayTextDownArrows(): bool + { + return $this->displayTextDownArrows; + } + + public function setDisplayTextDownArrows(bool $displayTextDownArrows): self + { + $this->displayTextDownArrows = $displayTextDownArrows; + + return $this; + } + + public function isDisplayText(): bool + { + return $this->displayText; + } + + public function getLineStyle(): string + { + return $this->lineStyle; + } + + /** + * @internal + */ + public function consolidate(): void + { + $this->lineStyle = $this->displayScissors ? LineStyle::DASHED : LineStyle::SOLID; + + if ($this->isPrintable) { + $this->lineStyle = LineStyle::NONE; + } + + if ($this->displayScissors) { + $this->displayText = false; + $this->displayTextDownArrows = false; + } + } +} + +/** + * @internal + */ +final class LineStyle +{ + public const SOLID = 'SOLID'; + public const DASHED = 'DASHED'; + public const NONE = 'NONE'; +} diff --git a/src/PaymentPart/Output/FpdfOutput/FpdfOutput.php b/src/PaymentPart/Output/FpdfOutput/FpdfOutput.php index 35cb88d5..3d2379d8 100644 --- a/src/PaymentPart/Output/FpdfOutput/FpdfOutput.php +++ b/src/PaymentPart/Output/FpdfOutput/FpdfOutput.php @@ -12,6 +12,7 @@ use Sprain\SwissQrBill\PaymentPart\Output\Element\Placeholder; use Sprain\SwissQrBill\PaymentPart\Output\Element\Text; use Sprain\SwissQrBill\PaymentPart\Output\Element\Title; +use Sprain\SwissQrBill\PaymentPart\Output\LineStyle; use Sprain\SwissQrBill\PaymentPart\Translation\Translation; use Sprain\SwissQrBill\QrBill; use Sprain\SwissQrBill\QrCode\QrCode; @@ -24,6 +25,9 @@ final class FpdfOutput extends AbstractOutput private const ALIGN_RIGHT = 'R'; private const ALIGN_CENTER = 'C'; private const FONT = 'Helvetica'; + private const FONT_UNICODE = 'zapfdingbats'; + private const FONT_UNICODE_CHAR_SCISSORS = '"'; + private const FONT_UNICODE_CHAR_DOWN_ARROW = 't'; // Positioning private const CURRENCY_AMOUNT_Y = 259.3; @@ -41,6 +45,8 @@ final class FpdfOutput extends AbstractOutput private const FONT_SIZE_TITLE_PAYMENT_PART = 8; private const FONT_SIZE_PAYMENT_PART = 10; private const FONT_SIZE_FURTHER_INFORMATION = 7; + private const FONT_SIZE_SCISSORS = 14; + private const FONT_SIZE_DOWN_ARROW = 10; // Line spacing private const LINE_SPACING_RECEIPT = 3.4; @@ -135,7 +141,7 @@ private function addSwissQrCodeImage(): void private function addInformationContentReceipt(): void { // Title - $this->fpdf->SetFont(self::FONT, 'B', self::FONT_SIZE_MAIN_TITLE); + $this->fpdf->SetFont($this->getFont(), 'B', self::FONT_SIZE_MAIN_TITLE); $this->SetXY(self::LEFT_PART_X, self::TITLE_Y); $this->fpdf->MultiCell(0, 7, $this->convertEncoding(Translation::get('receipt', $this->language))); @@ -147,7 +153,7 @@ private function addInformationContentReceipt(): void } // Acceptance section - $this->fpdf->SetFont(self::FONT, 'B', self::FONT_SIZE_TITLE_RECEIPT); + $this->fpdf->SetFont($this->getFont(), 'B', self::FONT_SIZE_TITLE_RECEIPT); $this->SetXY(self::LEFT_PART_X, 274.3); $this->fpdf->Cell(54, 0, $this->convertEncoding(Translation::get('acceptancePoint', $this->language)), self::BORDER, '', self::ALIGN_RIGHT); } @@ -155,7 +161,7 @@ private function addInformationContentReceipt(): void private function addInformationContent(): void { // Title - $this->fpdf->SetFont(self::FONT, 'B', self::FONT_SIZE_MAIN_TITLE); + $this->fpdf->SetFont($this->getFont(), 'B', self::FONT_SIZE_MAIN_TITLE); $this->SetXY(self::RIGHT_PART_X, 195.2); $this->fpdf->MultiCell(48, 7, $this->convertEncoding(Translation::get('paymentPart', $this->language))); @@ -223,13 +229,67 @@ private function addFurtherInformationContent(): void private function addSeparatorContentIfNotPrintable(): void { - if (!$this->isPrintable()) { + $layout = $this->getDisplayOptions(); + if ($layout->isPrintable()) { + return; + } + + if ($layout->getLineStyle() !== LineStyle::NONE) { $this->fpdf->SetLineWidth(0.1); + if ($layout->getLineStyle() === LineStyle::DASHED) { + if (!method_exists($this->fpdf, 'swissQrBillSetDash')) { + throw new MissingTraitException('Missing FpdfTrait in this fpdf instance. See fpdf-example.php within this library.'); + } + $this->fpdf->swissQrBillSetDash(0.6, 0.6); + } $this->fpdf->Line(2 + $this->offsetX, 193 + $this->offsetY, 208 + $this->offsetX, 193 + $this->offsetY); $this->fpdf->Line(62 + $this->offsetX, 193 + $this->offsetY, 62 + $this->offsetX, 296 + $this->offsetY); - $this->fpdf->SetFont(self::FONT, '', self::FONT_SIZE_FURTHER_INFORMATION); - $this->setY(189.6); - $this->fpdf->MultiCell(0, 0, $this->convertEncoding(Translation::get('separate', $this->language)), self::BORDER, self::ALIGN_CENTER); + if ($layout->getLineStyle() === LineStyle::DASHED && method_exists($this->fpdf, 'swissQrBillSetDash')) { + $this->fpdf->swissQrBillSetDash(0); + } + } + + if ($layout->isDisplayScissors()) { + $this->fpdf->SetFont(self::FONT_UNICODE, '', self::FONT_SIZE_SCISSORS); + + // horizontal scissors + $this->setXY(2 + $this->offsetX + 5, 193 + $this->offsetY + 0.2); + $this->fpdf->Cell(1, 0, self::FONT_UNICODE_CHAR_SCISSORS, 0, 0, 'C'); + + // vertical scissors + if (!method_exists($this->fpdf, 'swissQrBillTextWithRotation')) { + throw new MissingTraitException('Missing FpdfTrait in this fpdf instance. See fpdf-example.php within this library.'); + } + if ($layout->isPositionScissorsAtBottom()) { + $this->fpdf->swissQrBillTextWithRotation(62 + $this->offsetX + 1.7, 193 + $this->offsetY + 90, self::FONT_UNICODE_CHAR_SCISSORS, 90); + } else { + $this->fpdf->swissQrBillTextWithRotation(62 + $this->offsetX - 1.7, 193 + $this->offsetY + 4, self::FONT_UNICODE_CHAR_SCISSORS, -90); + } + } + + if ($layout->isDisplayText()) { + $this->fpdf->SetFont($this->getFont(), '', self::FONT_SIZE_FURTHER_INFORMATION); + $y = 189.6; + $this->setY($y); + $separateText = $this->convertEncoding(Translation::get('separate', $this->language)); + $this->fpdf->MultiCell(0, 0, $separateText, self::BORDER, self::ALIGN_CENTER); + + if ($layout->isDisplayTextDownArrows()) { + $textWidth = $this->fpdf->GetStringWidth($separateText); + $arrowMargin = 3; + $yoffset = 0.6; + $this->fpdf->SetFont(self::FONT_UNICODE, '', self::FONT_SIZE_DOWN_ARROW); + + $arrows = str_pad('', 3, self::FONT_UNICODE_CHAR_DOWN_ARROW); + + $xstart = ($this->fpdf->GetPageWidth() / 2) - ($textWidth / 2); + $this->fpdf->setXY($xstart - $arrowMargin, $y - $yoffset); + $this->fpdf->Cell(3, 1, $arrows, 0, 0, 'R', false); + + $xstart = ($this->fpdf->getPageWidth() / 2) + ($textWidth / 2); + $this->fpdf->setXY($xstart, $y - $yoffset); + $this->fpdf->Cell(3, 1, $arrows, 0, 0, 'L', false); + } } } @@ -254,7 +314,7 @@ private function setContentElement(OutputElementInterface $element, bool $isRece private function setTitleElement(Title $element, bool $isReceiptPart): void { - $this->fpdf->SetFont(self::FONT, 'B', $isReceiptPart ? self::FONT_SIZE_TITLE_RECEIPT : self::FONT_SIZE_TITLE_PAYMENT_PART); + $this->fpdf->SetFont($this->getFont(), 'B', $isReceiptPart ? self::FONT_SIZE_TITLE_RECEIPT : self::FONT_SIZE_TITLE_PAYMENT_PART); $this->fpdf->MultiCell( 0, 2.8, @@ -267,7 +327,7 @@ private function setTitleElement(Title $element, bool $isReceiptPart): void private function setTextElement(Text $element, bool $isReceiptPart): void { - $this->fpdf->SetFont(self::FONT, '', $isReceiptPart ? self::FONT_SIZE_RECEIPT : self::FONT_SIZE_PAYMENT_PART); + $this->fpdf->SetFont($this->getFont(), '', $isReceiptPart ? self::FONT_SIZE_RECEIPT : self::FONT_SIZE_PAYMENT_PART); $this->fpdf->MultiCell( $isReceiptPart ? 54 : 0, $isReceiptPart ? 3.3 : 4, @@ -280,7 +340,7 @@ private function setTextElement(Text $element, bool $isReceiptPart): void private function setFurtherInformationElement(FurtherInformation $element): void { - $this->fpdf->SetFont(self::FONT, '', self::FONT_SIZE_FURTHER_INFORMATION); + $this->fpdf->SetFont($this->getFont(), '', self::FONT_SIZE_FURTHER_INFORMATION); $this->fpdf->MultiCell( 0, 4, @@ -339,4 +399,9 @@ private function convertEncoding(string $text): string // FPDF does not support unicode. return mb_convert_encoding($text, 'CP1252', 'UTF-8'); } + + private function getFont(): string + { + return self::FONT; + } } diff --git a/src/PaymentPart/Output/FpdfOutput/FpdfTrait.php b/src/PaymentPart/Output/FpdfOutput/FpdfTrait.php new file mode 100644 index 00000000..a152f37b --- /dev/null +++ b/src/PaymentPart/Output/FpdfOutput/FpdfTrait.php @@ -0,0 +1,58 @@ +Line() command + * + * @see http://www.fpdf.org/en/script/script33.php + */ + public function swissQrBillSetDash(float $black = 0, ?float $white = null): void + { + $white = $white === null ? $black : $white; + + $s = $black > 0 + ? sprintf('[%.3F %.3F] 0 d', $black * $this->k, $white * $this->k) + : '[] 0 d'; + + $this->_out($s); + } + + /** + * Rotate text + * + * @see http://www.fpdf.org/en/script/script31.php + */ + public function swissQrBillTextWithRotation(float $x, float $y, string $txt, float $txtAngle = 0, float $fontAngle = 0): void + { + $fontAngle += 90 + $txtAngle; + $txtAngle *= M_PI / 180; + $fontAngle *= M_PI / 180; + + $txt_dx = cos($txtAngle); + $txt_dy = sin($txtAngle); + $font_dx = cos($fontAngle); + $font_dy = sin($fontAngle); + + $s = sprintf( + 'BT %.2F %.2F %.2F %.2F %.2F %.2F Tm (%s) Tj ET', + $txt_dx, + $txt_dy, + $font_dx, + $font_dy, + $x * $this->k, + ($this->h-$y) * $this->k, + $this->_escape($txt) + ); + + if ($this->ColorFlag) { + $s = sprintf('q %s %s Q', $this->TextColor, $s); + } + $this->_out($s); + } +} diff --git a/src/PaymentPart/Output/FpdfOutput/MissingTraitException.php b/src/PaymentPart/Output/FpdfOutput/MissingTraitException.php new file mode 100644 index 00000000..df636f83 --- /dev/null +++ b/src/PaymentPart/Output/FpdfOutput/MissingTraitException.php @@ -0,0 +1,8 @@ +getDisplayOptions(); $printableStyles = ''; - if ($this->isPrintable()) { + if ($layout->isPrintable()) { + // draw nothing $printableStyles = PrintableStylesTemplate::TEMPLATE; + } else { + if ($layout->isDisplayScissors()) { + // draw scissors + $printableStyles = PrintableStylesTemplate::TEMPLATE_SCISSORS; + if ($layout->isPositionScissorsAtBottom()) { + // draw vertical scissors at bottom + $printableStyles .= PHP_EOL.PHP_EOL. PrintableStylesTemplate::TEMPLATE_VERTICAL_SCISSORS_DOWN; + } + } + + if (!$layout->isDisplayText()) { + // hide text + $printableStyles .= PHP_EOL.PHP_EOL. PrintableStylesTemplate::TEMPLATE_HIDE_TEXT; + } elseif ($layout->isDisplayTextDownArrows()) { + // text not hidden and draw text arrows + $printableStyles .= PHP_EOL.PHP_EOL. PrintableStylesTemplate::TEMPLATE_TEXT_DOWN_ARROWS; + } } $paymentPart = str_replace('{{ printable-content }}', $printableStyles, $paymentPart); diff --git a/src/PaymentPart/Output/HtmlOutput/Template/PaymentPartTemplate.php b/src/PaymentPart/Output/HtmlOutput/Template/PaymentPartTemplate.php index 1063d6a0..121dc351 100644 --- a/src/PaymentPart/Output/HtmlOutput/Template/PaymentPartTemplate.php +++ b/src/PaymentPart/Output/HtmlOutput/Template/PaymentPartTemplate.php @@ -107,7 +107,7 @@ class PaymentPartTemplate #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/src/PaymentPart/Output/HtmlOutput/Template/PrintableStylesTemplate.php b/src/PaymentPart/Output/HtmlOutput/Template/PrintableStylesTemplate.php index a9f8ef58..fde67de2 100644 --- a/src/PaymentPart/Output/HtmlOutput/Template/PrintableStylesTemplate.php +++ b/src/PaymentPart/Output/HtmlOutput/Template/PrintableStylesTemplate.php @@ -17,4 +17,71 @@ class PrintableStylesTemplate border-right: 0; } EOT; + + public const TEMPLATE_SCISSORS = <<tcPdf->setCellHeightRatio(self::LEFT_CELL_HEIGHT_RATIO_COMMON); // Title - $this->tcPdf->SetFont(self::FONT, 'B', self::FONT_SIZE_MAIN_TITLE); + $this->tcPdf->SetFont($this->getFont(), 'B', self::FONT_SIZE_MAIN_TITLE); $this->setY(self::TITLE_Y); $this->setX($x); $this->printCell(Translation::get('receipt', $this->language), 0, 7); @@ -129,7 +135,7 @@ private function addInformationContentReceipt(): void } // Acceptance section - $this->tcPdf->SetFont(self::FONT, 'B', 6); + $this->tcPdf->SetFont($this->getFont(), 'B', 6); $this->setY(273); $this->setX($x); $this->printCell(Translation::get('acceptancePoint', $this->language), 54, 0, self::ALIGN_BELOW, self::ALIGN_RIGHT); @@ -141,7 +147,7 @@ private function addInformationContent(): void $this->tcPdf->setCellHeightRatio(self::RIGHT_CELL_HEIGHT_RATIO_COMMON); // Title - $this->tcPdf->SetFont(self::FONT, 'B', self::FONT_SIZE_MAIN_TITLE); + $this->tcPdf->SetFont($this->getFont(), 'B', self::FONT_SIZE_MAIN_TITLE); $this->setY(self::TITLE_Y); $this->setX(self::RIGHT_PART_X); $this->printCell(Translation::get('paymentPart', $this->language), 48, 7); @@ -216,14 +222,72 @@ private function addFurtherInformationContent(): void private function addSeparatorContentIfNotPrintable(): void { - if (!$this->isPrintable()) { - $this->tcPdf->SetLineStyle(['width' => 0.1, 'color' => [0, 0, 0]]); - $this->printLine(2, 193, 208, 193); - $this->printLine(62, 193, 62, 296); - $this->tcPdf->SetFont(self::FONT, '', self::FONT_SIZE_FURTHER_INFORMATION); - $this->setY(188); - $this->setX(5); + $layout = $this->getDisplayOptions(); + if ($layout->isPrintable()) { + return; + } + + $xstart = 2; + $xmiddle = 62; + $y = 193; + $yend = 296; + + if ($layout->getLineStyle() !== LineStyle::NONE) { + $lineStyle = ['width' => 0.1, 'color' => [0, 0, 0]]; + if ($layout->getLineStyle() === LineStyle::DASHED) { + $lineStyle['dash'] = '2'; + } + $this->tcPdf->SetLineStyle($lineStyle); + $this->printLine($xstart, $y, 208, $y); + $this->printLine($xmiddle, $y, $xmiddle, $yend); + } + + if ($layout->isDisplayScissors()) { + $this->tcPdf->setFont(self::FONT_UNICODE, '', self::FONT_SIZE_SCISSORS); + // horizontal scissors + $this->setY($y); + $this->setX($xstart + 3); + $this->tcPdf->Cell(0, 10, self::FONT_UNICODE_CHAR_SCISSORS, 0, 0, 'L', false, '', 0, false, 'C'); + // vertical scissors + if ($layout->isPositionScissorsAtBottom()) { + $this->setY($yend - 15); + $this->setX($xmiddle); + $this->tcPdf->StartTransform(); + $this->tcPdf->Rotate(90); + $this->tcPdf->Cell(0, 10, self::FONT_UNICODE_CHAR_SCISSORS, 0, 0, 'L', false, '', 0, false, 'C'); + $this->tcPdf->StopTransform(); + } else { + $this->setY($y + 3); + $this->setX($xmiddle); + $this->tcPdf->StartTransform(); + $this->tcPdf->Rotate(-90); + $this->tcPdf->Cell(0, 10, self::FONT_UNICODE_CHAR_SCISSORS, 0, 0, 'L', false, '', 0, false, 'C'); + $this->tcPdf->StopTransform(); + } + } + + if ($layout->isDisplayText()) { + $this->tcPdf->SetFont($this->getFont(), '', self::FONT_SIZE_FURTHER_INFORMATION); + $this->setY($y - 5); + $this->setX($xstart + 3); $this->printCell(Translation::get('separate', $this->language), 200, 0, 0, self::ALIGN_CENTER); + + if ($layout->isDisplayTextDownArrows()) { + $textWidth = $this->tcPdf->GetStringWidth(Translation::get('separate', $this->language)); + $arrowMargin = 3; + $yoffset = 5.5; + $this->tcPdf->SetFont(self::FONT_UNICODE, '', self::FONT_SIZE_DOWN_ARROW); + + $arrows = str_pad('', 3, self::FONT_UNICODE_CHAR_DOWN_ARROW); + + $xstart = ($this->tcPdf->getPageWidth() / 2) - ($textWidth / 2); + $this->tcPdf->setXY($xstart - $arrowMargin, $y - $yoffset); + $this->tcPdf->Cell(3, 1, $arrows, 0, 0, 'R', false); + + $xstart = ($this->tcPdf->getPageWidth() / 2) + ($textWidth / 2); + $this->tcPdf->setXY($xstart, $y - $yoffset); + $this->tcPdf->Cell(3, 1, $arrows, 0, 0, 'L', false); + } } } @@ -249,7 +313,7 @@ private function setContentElement(OutputElementInterface $element, bool $isRece private function setTitleElement(Title $element, bool $isReceiptPart): void { $this->tcPdf->SetFont( - self::FONT, + $this->getFont(), 'B', $isReceiptPart ? self::FONT_SIZE_TITLE_RECEIPT : self::FONT_SIZE_TITLE_PAYMENT_PART ); @@ -264,7 +328,7 @@ private function setTitleElement(Title $element, bool $isReceiptPart): void private function setTextElement(Text $element, bool $isReceiptPart): void { $this->tcPdf->SetFont( - self::FONT, + $this->getFont(), '', $isReceiptPart ? self::FONT_SIZE_RECEIPT : self::FONT_SIZE_PAYMENT_PART ); @@ -281,7 +345,7 @@ private function setTextElement(Text $element, bool $isReceiptPart): void private function setFurtherInformationElement(FurtherInformation $element): void { - $this->tcPdf->SetFont(self::FONT, '', self::FONT_SIZE_FURTHER_INFORMATION); + $this->tcPdf->SetFont($this->getFont(), '', self::FONT_SIZE_FURTHER_INFORMATION); $this->printMultiCell( $element->getText(), 0, @@ -352,4 +416,9 @@ private function printLine(int $x1, int $y1, int $x2, int $y2): void { $this->tcPdf->Line($x1+$this->offsetX, $y1+$this->offsetY, $x2+$this->offsetX, $y2+$this->offsetY); } + + private function getFont(): string + { + return self::FONT; + } } diff --git a/tests/PaymentPart/Output/FpdfOutput/FpdfOutputTest.php b/tests/PaymentPart/Output/FpdfOutput/FpdfOutputTest.php index eeaa8a7d..b08235a5 100644 --- a/tests/PaymentPart/Output/FpdfOutput/FpdfOutputTest.php +++ b/tests/PaymentPart/Output/FpdfOutput/FpdfOutputTest.php @@ -8,9 +8,13 @@ use Sprain\SwissQrBill\Exception\InvalidFpdfImageFormat; use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\FpdfOutput; use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\UnsupportedEnvironmentException; +use Sprain\SwissQrBill\PaymentPart\Output\DisplayOptions; +use Sprain\SwissQrBill\PaymentPart\Output\VerticalSeparatorSymbolPosition; use Sprain\SwissQrBill\QrBill; use Sprain\SwissQrBill\QrCode\QrCode; use Sprain\Tests\SwissQrBill\TestQrBillCreatorTrait; +use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\FpdfTrait; +use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\MissingTraitException; final class FpdfOutputTest extends TestCase { @@ -23,14 +27,29 @@ public function testValidQrBills(string $name, QrBill $qrBill): void { $variations = [ [ - 'printable' => false, + 'layout' => (new DisplayOptions())->setPrintable(false), 'format' => QrCode::FILE_FORMAT_PNG, 'file' => dirname(dirname(dirname(__DIR__))) . '/TestData/FpdfOutput/' . $name . '.pdf' ], [ - 'printable' => true, + 'layout' => (new DisplayOptions())->setPrintable(true), 'format' => QrCode::FILE_FORMAT_PNG, 'file' => dirname(dirname(dirname(__DIR__))) . '/TestData/FpdfOutput/' . $name . '.print.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true), + 'format' => QrCode::FILE_FORMAT_PNG, + 'file' => dirname(dirname(dirname(__DIR__))) . '/TestData/FpdfOutput/' . $name . '.scissors.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)->setPositionScissorsAtBottom(true), + 'format' => QrCode::FILE_FORMAT_PNG, + 'file' => __DIR__ . '/../../../TestData/FpdfOutput/' . $name . '.svg.scissorsdown.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayTextDownArrows(true), + 'format' => QrCode::FILE_FORMAT_PNG, + 'file' => __DIR__ . '/../../../TestData/FpdfOutput/' . $name . '.svg.textarrows.pdf' ] ]; @@ -42,14 +61,14 @@ public function testValidQrBills(string $name, QrBill $qrBill): void $output = new FpdfOutput($qrBill, 'en', $fpdf); $output - ->setPrintable($variation['printable']) + ->setDisplayOptions($variation['layout']) ->setQrCodeImageFormat($variation['format']) ->getPaymentPart(); if ($this->regenerateReferenceFiles) { $fpdf->Output($file, 'F'); } - + $contents = $this->getActualPdfContents($fpdf->Output($file, 'S')); $this->assertNotNull($contents); @@ -57,6 +76,60 @@ public function testValidQrBills(string $name, QrBill $qrBill): void } } + public function testItThrowsMissingTraitException(): void + { + $this->expectException(MissingTraitException::class); + + $qrBill = $this->createQrBill([ + 'header', + 'creditorInformationQrIban', + 'creditor', + 'paymentAmountInformation', + 'paymentReferenceQr' + ]); + + $fpdf = $this->instantiateFpdf(null, false); + $fpdf->AddPage(); + + $output = new FpdfOutput($qrBill, 'en', $fpdf); + $output + ->setDisplayOptions((new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)) + ->setQrCodeImageFormat(QrCode::FILE_FORMAT_PNG) + ->getPaymentPart(); + } + + public function testUtf8SpecialChars(): void + { + $file = __DIR__ . '/../../../TestData/FpdfOutput/qr-utf8.svg.pdf'; + + $qrBill = $this->createQrBill([ + 'header', + 'creditorInformationQrIban', + 'creditor', + 'paymentAmountInformation', + 'paymentReferenceQr', + 'utf8SpecialCharsUltimateDebtor' + ]); + + $fpdf = $this->instantiateFpdf(); + $fpdf->AddPage(); + + $output = new FpdfOutput($qrBill, 'en', $fpdf); + $output + ->setDisplayOptions((new DisplayOptions())->setPrintable(true)) + ->setQrCodeImageFormat(QrCode::FILE_FORMAT_PNG) + ->getPaymentPart(); + + if ($this->regenerateReferenceFiles) { + $fpdf->Output($file, 'F', true); + } + + $contents = $this->getActualPdfContents($fpdf->Output($file, 'S', true)); + + $this->assertNotNull($contents); + $this->assertSame($this->getActualPdfContents(file_get_contents($file)), $contents); + } + public function testItThrowsSvgNotSupportedException(): void { $this->expectException(InvalidFpdfImageFormat::class); @@ -115,18 +188,34 @@ private function getActualPdfContents(string $fileContents): ?string return null; } - private function instantiateFpdf($withMemImageSupport = null): Fpdf + private function instantiateFpdf($withMemImageSupport = null, $withBundledTrait = null): Fpdf { if ($withMemImageSupport === null) { $withMemImageSupport = !ini_get('allow_url_fopen'); } + if ($withBundledTrait === null) { + $withBundledTrait = true; + } + if ($withMemImageSupport) { + if ($withBundledTrait) { + return new class('P', 'mm', 'A4') extends Fpdf { + use MemImageTrait; + use FpdfTrait; + }; + } return new class('P', 'mm', 'A4') extends Fpdf { use MemImageTrait; }; } + if ($withBundledTrait) { + return new class('P', 'mm', 'A4') extends Fpdf { + use FpdfTrait; + }; + } + return new Fpdf('P', 'mm', 'A4'); } } diff --git a/tests/PaymentPart/Output/FpdfOutput/FpdiOutputTest.php b/tests/PaymentPart/Output/FpdfOutput/FpdiOutputTest.php index 45df001f..2ef123e1 100644 --- a/tests/PaymentPart/Output/FpdfOutput/FpdiOutputTest.php +++ b/tests/PaymentPart/Output/FpdfOutput/FpdiOutputTest.php @@ -7,9 +7,13 @@ use setasign\Fpdi\Fpdi; use Sprain\SwissQrBill\Exception\InvalidFpdfImageFormat; use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\FpdfOutput; +use Sprain\SwissQrBill\PaymentPart\Output\DisplayOptions; +use Sprain\SwissQrBill\PaymentPart\Output\VerticalSeparatorSymbolPosition; use Sprain\SwissQrBill\QrBill; use Sprain\SwissQrBill\QrCode\QrCode; use Sprain\Tests\SwissQrBill\TestQrBillCreatorTrait; +use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\FpdfTrait; +use Sprain\SwissQrBill\PaymentPart\Output\FpdfOutput\MissingTraitException; final class FpdiOutputTest extends TestCase { @@ -22,14 +26,29 @@ public function testValidQrBills(string $name, QrBill $qrBill): void { $variations = [ [ - 'printable' => false, + 'layout' => (new DisplayOptions())->setPrintable(false), 'format' => QrCode::FILE_FORMAT_PNG, 'file' => dirname(dirname(dirname(__DIR__))) . '/TestData/FpdfOutput/' . $name . '.pdf' ], [ - 'printable' => true, + 'layout' => (new DisplayOptions())->setPrintable(true), 'format' => QrCode::FILE_FORMAT_PNG, 'file' => dirname(dirname(dirname(__DIR__))) . '/TestData/FpdfOutput/' . $name . '.print.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true), + 'format' => QrCode::FILE_FORMAT_PNG, + 'file' => dirname(dirname(dirname(__DIR__))) . '/TestData/FpdfOutput/' . $name . '.scissors.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)->setPositionScissorsAtBottom(true), + 'format' => QrCode::FILE_FORMAT_PNG, + 'file' => __DIR__ . '/../../../TestData/FpdfOutput/' . $name . '.svg.scissorsdown.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayTextDownArrows(true), + 'format' => QrCode::FILE_FORMAT_PNG, + 'file' => __DIR__ . '/../../../TestData/FpdfOutput/' . $name . '.svg.textarrows.pdf' ] ]; @@ -41,14 +60,14 @@ public function testValidQrBills(string $name, QrBill $qrBill): void $output = new FpdfOutput($qrBill, 'en', $fpdf); $output - ->setPrintable($variation['printable']) + ->setDisplayOptions($variation['layout']) ->setQrCodeImageFormat($variation['format']) ->getPaymentPart(); if ($this->regenerateReferenceFiles) { $fpdf->Output($file, 'F'); } - + $contents = $this->getActualPdfContents($fpdf->Output($file, 'S')); $this->assertNotNull($contents); @@ -56,6 +75,28 @@ public function testValidQrBills(string $name, QrBill $qrBill): void } } + public function testItThrowsMissingTraitException(): void + { + $this->expectException(MissingTraitException::class); + + $qrBill = $this->createQrBill([ + 'header', + 'creditorInformationQrIban', + 'creditor', + 'paymentAmountInformation', + 'paymentReferenceQr' + ]); + + $fpdf = $this->instantiateFpdi(null, false); + $fpdf->AddPage(); + + $output = new FpdfOutput($qrBill, 'en', $fpdf); + $output + ->setDisplayOptions((new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)) + ->setQrCodeImageFormat(QrCode::FILE_FORMAT_PNG) + ->getPaymentPart(); + } + public function testItThrowsSvgNotSupportedException(): void { $this->expectException(InvalidFpdfImageFormat::class); @@ -89,18 +130,34 @@ private function getActualPdfContents(string $fileContents): ?string return null; } - private function instantiateFpdi($withMemImageSupport = null): Fpdi + private function instantiateFpdi($withMemImageSupport = null, $withBundledTrait = null): Fpdi { if ($withMemImageSupport === null) { $withMemImageSupport = !ini_get('allow_url_fopen'); } + if ($withBundledTrait === null) { + $withBundledTrait = true; + } + if ($withMemImageSupport) { + if ($withBundledTrait) { + return new class('P', 'mm', 'A4') extends Fpdi { + use MemImageTrait; + use FpdfTrait; + }; + } return new class('P', 'mm', 'A4') extends Fpdi { use MemImageTrait; }; } + if ($withBundledTrait) { + return new class('P', 'mm', 'A4') extends Fpdi { + use FpdfTrait; + }; + } + return new Fpdi('P', 'mm', 'A4'); } } diff --git a/tests/PaymentPart/Output/HtmlOutput/HtmlOutputTest.php b/tests/PaymentPart/Output/HtmlOutput/HtmlOutputTest.php index dfd140cc..9022ac8d 100644 --- a/tests/PaymentPart/Output/HtmlOutput/HtmlOutputTest.php +++ b/tests/PaymentPart/Output/HtmlOutput/HtmlOutputTest.php @@ -4,6 +4,8 @@ use PHPUnit\Framework\TestCase; use Sprain\SwissQrBill\PaymentPart\Output\HtmlOutput\HtmlOutput; +use Sprain\SwissQrBill\PaymentPart\Output\DisplayOptions; +use Sprain\SwissQrBill\PaymentPart\Output\VerticalSeparatorSymbolPosition; use Sprain\SwissQrBill\QrBill; use Sprain\SwissQrBill\QrCode\QrCode; use Sprain\Tests\SwissQrBill\TestCompactSvgQrCodeTrait; @@ -21,15 +23,30 @@ public function testValidQrBills(string $name, QrBill $qrBill) { $variations = [ [ - 'printable' => false, + 'layout' => (new DisplayOptions())->setPrintable(false), 'format' => QrCode::FILE_FORMAT_SVG, 'file' => __DIR__ . '/../../../TestData/HtmlOutput/' . $name . $this->getCompact() . '.svg.html' ], [ - 'printable' => true, + 'layout' => (new DisplayOptions())->setPrintable(true), 'format' => QrCode::FILE_FORMAT_SVG, 'file' => __DIR__ . '/../../../TestData/HtmlOutput/' . $name . $this->getCompact() . '.svg.print.html' ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/HtmlOutput/' . $name . $this->getCompact() . '.svg.scissors.html' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)->setPositionScissorsAtBottom(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/HtmlOutput/' . $name . $this->getCompact() . '.svg.scissorsdown.html' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayTextDownArrows(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/HtmlOutput/' . $name . $this->getCompact() . '.svg.textarrows.html' + ], /* PNGs do not create the same output in all environments [ 'printable' => false, @@ -49,7 +66,7 @@ public function testValidQrBills(string $name, QrBill $qrBill) $htmlOutput = (new HtmlOutput($qrBill, 'en')); $output = $htmlOutput - ->setPrintable($variation['printable']) + ->setDisplayOptions($variation['layout']) ->setQrCodeImageFormat($variation['format']) ->getPaymentPart(); diff --git a/tests/PaymentPart/Output/TcPdfOutput/FpdiOutputTest.php b/tests/PaymentPart/Output/TcPdfOutput/FpdiOutputTest.php index 290894fb..a15aec67 100644 --- a/tests/PaymentPart/Output/TcPdfOutput/FpdiOutputTest.php +++ b/tests/PaymentPart/Output/TcPdfOutput/FpdiOutputTest.php @@ -4,6 +4,8 @@ use PHPUnit\Framework\TestCase; use setasign\Fpdi\Tcpdf\Fpdi; +use Sprain\SwissQrBill\PaymentPart\Output\DisplayOptions; +use Sprain\SwissQrBill\PaymentPart\Output\VerticalSeparatorSymbolPosition; use Sprain\SwissQrBill\PaymentPart\Output\TcPdfOutput\TcPdfOutput; use Sprain\SwissQrBill\QrBill; use Sprain\SwissQrBill\QrCode\QrCode; @@ -20,15 +22,30 @@ public function testValidQrBills(string $name, QrBill $qrBill): void { $variations = [ [ - 'printable' => false, + 'layout' => (new DisplayOptions())->setPrintable(false), 'format' => QrCode::FILE_FORMAT_SVG, 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.pdf' ], [ - 'printable' => true, + 'layout' => (new DisplayOptions())->setPrintable(true), 'format' => QrCode::FILE_FORMAT_SVG, 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.print.pdf' ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.scissors.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)->setPositionScissorsAtBottom(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.scissorsdown.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayTextDownArrows(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.textarrows.pdf' + ], /* PNGs do not create the same output in all environments [ 'printable' => false, @@ -53,7 +70,7 @@ public function testValidQrBills(string $name, QrBill $qrBill): void $output = (new TcPdfOutput($qrBill, 'en', $tcPdf)); $output - ->setPrintable($variation['printable']) + ->setDisplayOptions($variation['layout']) ->setQrCodeImageFormat($variation['format']) ->getPaymentPart(); diff --git a/tests/PaymentPart/Output/TcPdfOutput/TcPdfOutputTest.php b/tests/PaymentPart/Output/TcPdfOutput/TcPdfOutputTest.php index fd81434b..34079bd5 100644 --- a/tests/PaymentPart/Output/TcPdfOutput/TcPdfOutputTest.php +++ b/tests/PaymentPart/Output/TcPdfOutput/TcPdfOutputTest.php @@ -3,6 +3,8 @@ namespace Sprain\Tests\SwissQrBill\PaymentPart\Output\TcPdfOutput; use PHPUnit\Framework\TestCase; +use Sprain\SwissQrBill\PaymentPart\Output\DisplayOptions; +use Sprain\SwissQrBill\PaymentPart\Output\VerticalSeparatorSymbolPosition; use Sprain\SwissQrBill\PaymentPart\Output\TcPdfOutput\TcPdfOutput; use Sprain\SwissQrBill\QrBill; use Sprain\SwissQrBill\QrCode\QrCode; @@ -19,15 +21,30 @@ public function testValidQrBills(string $name, QrBill $qrBill): void { $variations = [ [ - 'printable' => false, + 'layout' => (new DisplayOptions())->setPrintable(false), 'format' => QrCode::FILE_FORMAT_SVG, 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.pdf' ], [ - 'printable' => true, + 'layout' => (new DisplayOptions())->setPrintable(true), 'format' => QrCode::FILE_FORMAT_SVG, 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.print.pdf' ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.scissors.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayScissors(true)->setPositionScissorsAtBottom(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.scissorsdown.pdf' + ], + [ + 'layout' => (new DisplayOptions())->setPrintable(false)->setDisplayTextDownArrows(true), + 'format' => QrCode::FILE_FORMAT_SVG, + 'file' => __DIR__ . '/../../../TestData/TcPdfOutput/' . $name . '.svg.textarrows.pdf' + ], /* PNGs do not create the same output in all environments [ 'printable' => false, @@ -52,7 +69,7 @@ public function testValidQrBills(string $name, QrBill $qrBill): void $output = (new TcPdfOutput($qrBill, 'en', $tcPdf)); $output - ->setPrintable($variation['printable']) + ->setDisplayOptions($variation['layout']) ->setQrCodeImageFormat($variation['format']) ->getPaymentPart(); @@ -67,6 +84,40 @@ public function testValidQrBills(string $name, QrBill $qrBill): void } } + public function testUtf8SpecialChars(): void + { + $file = __DIR__ . '/../../../TestData/TcPdfOutput/qr-utf8.svg.pdf'; + + $qrBill = $this->createQrBill([ + 'header', + 'creditorInformationQrIban', + 'creditor', + 'paymentAmountInformation', + 'paymentReferenceQr', + 'utf8SpecialCharsUltimateDebtor' + ]); + + $tcPdf = new \TCPDF('P', 'mm', 'A4', true, 'ISO-8859-1'); + $tcPdf->setPrintHeader(false); + $tcPdf->setPrintFooter(false); + $tcPdf->AddPage(); + + $output = (new TcPdfOutput($qrBill, 'en', $tcPdf)); + $output + ->setDisplayOptions((new DisplayOptions())->setPrintable(true)) + ->setQrCodeImageFormat(QrCode::FILE_FORMAT_SVG) + ->getPaymentPart(); + + if ($this->regenerateReferenceFiles) { + $tcPdf->Output($file, 'F'); + } + + $contents = $this->getActualPdfContents($tcPdf->Output($file, 'S')); + + $this->assertNotNull($contents); + $this->assertSame($this->getActualPdfContents(file_get_contents($file)), $contents); + } + private function getActualPdfContents(string $fileContents): ?string { // Extract actual pdf content and ignore all meta data which may differ in different versions of TcPdf diff --git a/tests/TestData/FpdfOutput/qr-additional-information.pdf b/tests/TestData/FpdfOutput/qr-additional-information.pdf index 573b586a..f4fa9a7f 100644 Binary files a/tests/TestData/FpdfOutput/qr-additional-information.pdf and b/tests/TestData/FpdfOutput/qr-additional-information.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-additional-information.print.pdf b/tests/TestData/FpdfOutput/qr-additional-information.print.pdf index 39c76f31..8c6b6609 100644 Binary files a/tests/TestData/FpdfOutput/qr-additional-information.print.pdf and b/tests/TestData/FpdfOutput/qr-additional-information.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-additional-information.scissors.pdf b/tests/TestData/FpdfOutput/qr-additional-information.scissors.pdf new file mode 100644 index 00000000..e82fb17e Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-additional-information.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-additional-information.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-additional-information.svg.scissorsdown.pdf new file mode 100644 index 00000000..229d2e27 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-additional-information.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-additional-information.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-additional-information.svg.textarrows.pdf new file mode 100644 index 00000000..db3bf3b3 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-additional-information.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-alternative-schemes.pdf b/tests/TestData/FpdfOutput/qr-alternative-schemes.pdf index 57ab3ff5..d5980205 100644 Binary files a/tests/TestData/FpdfOutput/qr-alternative-schemes.pdf and b/tests/TestData/FpdfOutput/qr-alternative-schemes.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-alternative-schemes.print.pdf b/tests/TestData/FpdfOutput/qr-alternative-schemes.print.pdf index 1d6a90b5..c36b2821 100644 Binary files a/tests/TestData/FpdfOutput/qr-alternative-schemes.print.pdf and b/tests/TestData/FpdfOutput/qr-alternative-schemes.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-alternative-schemes.scissors.pdf b/tests/TestData/FpdfOutput/qr-alternative-schemes.scissors.pdf new file mode 100644 index 00000000..dee5a237 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-alternative-schemes.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-alternative-schemes.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-alternative-schemes.svg.scissorsdown.pdf new file mode 100644 index 00000000..48057d0c Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-alternative-schemes.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-alternative-schemes.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-alternative-schemes.svg.textarrows.pdf new file mode 100644 index 00000000..49ef1d01 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-alternative-schemes.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-full-set.pdf b/tests/TestData/FpdfOutput/qr-full-set.pdf index 6e8eda39..d75b52a6 100644 Binary files a/tests/TestData/FpdfOutput/qr-full-set.pdf and b/tests/TestData/FpdfOutput/qr-full-set.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-full-set.print.pdf b/tests/TestData/FpdfOutput/qr-full-set.print.pdf index 22e256e8..7bda362a 100644 Binary files a/tests/TestData/FpdfOutput/qr-full-set.print.pdf and b/tests/TestData/FpdfOutput/qr-full-set.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-full-set.scissors.pdf b/tests/TestData/FpdfOutput/qr-full-set.scissors.pdf new file mode 100644 index 00000000..f680e210 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-full-set.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-full-set.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-full-set.svg.scissorsdown.pdf new file mode 100644 index 00000000..4c0b348f Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-full-set.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-full-set.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-full-set.svg.textarrows.pdf new file mode 100644 index 00000000..ca0a8048 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-full-set.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.pdf b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.pdf index cd64bf5f..1a60a5a9 100644 Binary files a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.pdf and b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.print.pdf b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.print.pdf index 6e4af910..81a88999 100644 Binary files a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.print.pdf and b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.scissors.pdf b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.scissors.pdf new file mode 100644 index 00000000..11ab6bdd Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..72bad4eb Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..88d8defe Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-international-ultimate-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-minimal-setup.pdf b/tests/TestData/FpdfOutput/qr-minimal-setup.pdf index cfea2210..e3be2d71 100644 Binary files a/tests/TestData/FpdfOutput/qr-minimal-setup.pdf and b/tests/TestData/FpdfOutput/qr-minimal-setup.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-minimal-setup.print.pdf b/tests/TestData/FpdfOutput/qr-minimal-setup.print.pdf index a4b7ecee..72aa4e73 100644 Binary files a/tests/TestData/FpdfOutput/qr-minimal-setup.print.pdf and b/tests/TestData/FpdfOutput/qr-minimal-setup.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-minimal-setup.scissors.pdf b/tests/TestData/FpdfOutput/qr-minimal-setup.scissors.pdf new file mode 100644 index 00000000..2c9e2554 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-minimal-setup.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-minimal-setup.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-minimal-setup.svg.scissorsdown.pdf new file mode 100644 index 00000000..761b7870 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-minimal-setup.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-minimal-setup.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-minimal-setup.svg.textarrows.pdf new file mode 100644 index 00000000..d62701ae Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-minimal-setup.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.pdf b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.pdf index a083ba24..14dc5809 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.print.pdf b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.print.pdf index 230e8010..d6850ad1 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.scissors.pdf new file mode 100644 index 00000000..6d48d59c Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..98fb63b0 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..9403dfd6 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.pdf index 86abf9b2..68b7fe8c 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.print.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.print.pdf index 98d0a40d..4a4b192b 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.scissors.pdf new file mode 100644 index 00000000..5919e5dd Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.pdf new file mode 100644 index 00000000..7dd6005c Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.pdf new file mode 100644 index 00000000..ab3eb63a Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.pdf index 119201e1..be53c1b6 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.print.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.print.pdf index 2fccc4a6..f8adeb64 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.scissors.pdf new file mode 100644 index 00000000..92669b71 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..8ab77dea Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..7597c7bf Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.pdf index 328d77ff..af2c0558 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.print.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.print.pdf index d7d849af..6d215912 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.scissors.pdf new file mode 100644 index 00000000..329d89a7 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.svg.scissorsdown.pdf new file mode 100644 index 00000000..76fd10cb Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-without-amount.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.svg.textarrows.pdf new file mode 100644 index 00000000..d0ecc49f Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-without-amount.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.pdf b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.pdf index c24a2b05..df9ae467 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.print.pdf b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.print.pdf index 8c32c228..67e42d68 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.scissors.pdf new file mode 100644 index 00000000..30a6f742 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.svg.scissorsdown.pdf new file mode 100644 index 00000000..4bdf0b00 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.svg.textarrows.pdf new file mode 100644 index 00000000..4c0a1b96 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-information-zero-amount.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-non.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-non.pdf index 6f5780e2..e0171c35 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-reference-non.pdf and b/tests/TestData/FpdfOutput/qr-payment-reference-non.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-non.print.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-non.print.pdf index 2c35a6d6..651c35f5 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-reference-non.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-reference-non.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-non.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-non.scissors.pdf new file mode 100644 index 00000000..4f9b351d Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-reference-non.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-non.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-non.svg.scissorsdown.pdf new file mode 100644 index 00000000..904a8684 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-reference-non.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-non.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-non.svg.textarrows.pdf new file mode 100644 index 00000000..55dab536 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-reference-non.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-scor.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-scor.pdf index cd00f165..e944bd98 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-reference-scor.pdf and b/tests/TestData/FpdfOutput/qr-payment-reference-scor.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-scor.print.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-scor.print.pdf index bfb8d5e9..2eacd547 100644 Binary files a/tests/TestData/FpdfOutput/qr-payment-reference-scor.print.pdf and b/tests/TestData/FpdfOutput/qr-payment-reference-scor.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-scor.scissors.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-scor.scissors.pdf new file mode 100644 index 00000000..f4d1819f Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-reference-scor.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-scor.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-scor.svg.scissorsdown.pdf new file mode 100644 index 00000000..9da570ed Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-reference-scor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-payment-reference-scor.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-payment-reference-scor.svg.textarrows.pdf new file mode 100644 index 00000000..b00f6035 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-payment-reference-scor.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-ultimate-debtor.pdf b/tests/TestData/FpdfOutput/qr-ultimate-debtor.pdf index edeb6203..3e69862b 100644 Binary files a/tests/TestData/FpdfOutput/qr-ultimate-debtor.pdf and b/tests/TestData/FpdfOutput/qr-ultimate-debtor.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-ultimate-debtor.print.pdf b/tests/TestData/FpdfOutput/qr-ultimate-debtor.print.pdf index 0baed6e9..497b7d25 100644 Binary files a/tests/TestData/FpdfOutput/qr-ultimate-debtor.print.pdf and b/tests/TestData/FpdfOutput/qr-ultimate-debtor.print.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-ultimate-debtor.scissors.pdf b/tests/TestData/FpdfOutput/qr-ultimate-debtor.scissors.pdf new file mode 100644 index 00000000..dd4f7802 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-ultimate-debtor.scissors.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-ultimate-debtor.svg.scissorsdown.pdf b/tests/TestData/FpdfOutput/qr-ultimate-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..7d4ee986 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-ultimate-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-ultimate-debtor.svg.textarrows.pdf b/tests/TestData/FpdfOutput/qr-ultimate-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..3a1980c3 Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-ultimate-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/FpdfOutput/qr-utf8.svg.pdf b/tests/TestData/FpdfOutput/qr-utf8.svg.pdf new file mode 100644 index 00000000..b17d05bd Binary files /dev/null and b/tests/TestData/FpdfOutput/qr-utf8.svg.pdf differ diff --git a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.html b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.html index 9862f35e..ca195153 100644 --- a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.print.html index 0374a5f1..acdab8e8 100644 --- a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.scissors.html new file mode 100644 index 00000000..1d71a0ac --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.scissors.html @@ -0,0 +1,260 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.scissorsdown.html new file mode 100644 index 00000000..24213d43 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.scissorsdown.html @@ -0,0 +1,270 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.textarrows.html new file mode 100644 index 00000000..576c3afe --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-additional-information-compact.svg.textarrows.html @@ -0,0 +1,250 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-additional-information.svg.html b/tests/TestData/HtmlOutput/qr-additional-information.svg.html index 0f011b8e..985c39e5 100644 --- a/tests/TestData/HtmlOutput/qr-additional-information.svg.html +++ b/tests/TestData/HtmlOutput/qr-additional-information.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-additional-information.svg.print.html b/tests/TestData/HtmlOutput/qr-additional-information.svg.print.html index f03c2d7f..cb66aaa4 100644 --- a/tests/TestData/HtmlOutput/qr-additional-information.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-additional-information.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-additional-information.svg.scissors.html b/tests/TestData/HtmlOutput/qr-additional-information.svg.scissors.html new file mode 100644 index 00000000..b9fa0823 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-additional-information.svg.scissors.html @@ -0,0 +1,260 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-additional-information.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-additional-information.svg.scissorsdown.html new file mode 100644 index 00000000..6d534706 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-additional-information.svg.scissorsdown.html @@ -0,0 +1,270 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-additional-information.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-additional-information.svg.textarrows.html new file mode 100644 index 00000000..7d39add0 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-additional-information.svg.textarrows.html @@ -0,0 +1,250 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.html b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.html index d9a265d2..f87b4d62 100644 --- a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.print.html index dd9419b7..59ee1260 100644 --- a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.scissors.html new file mode 100644 index 00000000..cf7c3e93 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.scissors.html @@ -0,0 +1,259 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.scissorsdown.html new file mode 100644 index 00000000..d04c22f8 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.scissorsdown.html @@ -0,0 +1,269 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.textarrows.html new file mode 100644 index 00000000..22dac480 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes-compact.svg.textarrows.html @@ -0,0 +1,249 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.html b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.html index 19e54f72..7871c96a 100644 --- a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.html +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.print.html b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.print.html index 45fbae5a..2c55c2db 100644 --- a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.scissors.html b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.scissors.html new file mode 100644 index 00000000..3cbfacf4 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.scissors.html @@ -0,0 +1,259 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.scissorsdown.html new file mode 100644 index 00000000..55dccff6 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.scissorsdown.html @@ -0,0 +1,269 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.textarrows.html new file mode 100644 index 00000000..8c8378b6 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-alternative-schemes.svg.textarrows.html @@ -0,0 +1,249 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.html b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.html index e7742578..e382455d 100644 --- a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.print.html index c24cd6f5..5477ca10 100644 --- a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.scissors.html new file mode 100644 index 00000000..8ba594f3 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.scissors.html @@ -0,0 +1,265 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.scissorsdown.html new file mode 100644 index 00000000..c57debd7 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.scissorsdown.html @@ -0,0 +1,275 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-full-set-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.textarrows.html new file mode 100644 index 00000000..91710590 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-full-set-compact.svg.textarrows.html @@ -0,0 +1,255 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-full-set.svg.html b/tests/TestData/HtmlOutput/qr-full-set.svg.html index 8e38e623..c6f1c5c5 100644 --- a/tests/TestData/HtmlOutput/qr-full-set.svg.html +++ b/tests/TestData/HtmlOutput/qr-full-set.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-full-set.svg.print.html b/tests/TestData/HtmlOutput/qr-full-set.svg.print.html index 279a4e96..1194b872 100644 --- a/tests/TestData/HtmlOutput/qr-full-set.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-full-set.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-full-set.svg.scissors.html b/tests/TestData/HtmlOutput/qr-full-set.svg.scissors.html new file mode 100644 index 00000000..988cc0f4 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-full-set.svg.scissors.html @@ -0,0 +1,265 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-full-set.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-full-set.svg.scissorsdown.html new file mode 100644 index 00000000..8413736a --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-full-set.svg.scissorsdown.html @@ -0,0 +1,275 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-full-set.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-full-set.svg.textarrows.html new file mode 100644 index 00000000..db7f576c --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-full-set.svg.textarrows.html @@ -0,0 +1,255 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

Invoice 1234568
+Gardening work
+Bill Information

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9
+CC/XRPL/10/bUuK6fwHtfZ3HGAgKvEV7Y5TzHEu8ChUj9

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.html index c819cfe0..60b5b9c9 100644 --- a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.print.html index 9ed491dc..3275318c 100644 --- a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.scissors.html new file mode 100644 index 00000000..5b573a74 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.scissors.html @@ -0,0 +1,262 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.scissorsdown.html new file mode 100644 index 00000000..e24ace67 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.scissorsdown.html @@ -0,0 +1,272 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.textarrows.html new file mode 100644 index 00000000..bb93f3e9 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor-compact.svg.textarrows.html @@ -0,0 +1,252 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.html index bcdbc599..5b4b7aed 100644 --- a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.html +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.print.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.print.html index dca4da9e..53480d7f 100644 --- a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.scissors.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.scissors.html new file mode 100644 index 00000000..42ed8a1c --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.scissors.html @@ -0,0 +1,262 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.scissorsdown.html new file mode 100644 index 00000000..5efe828f --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.scissorsdown.html @@ -0,0 +1,272 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.textarrows.html new file mode 100644 index 00000000..49250c11 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-international-ultimate-debtor.svg.textarrows.html @@ -0,0 +1,252 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Joachim Kraut
+Ewigermeisterstrasse 20
+DE-80331 München

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.html b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.html index 6330e202..23c7d725 100644 --- a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.print.html index 6fd2bc40..a2b892de 100644 --- a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.scissors.html new file mode 100644 index 00000000..f75837d8 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.scissorsdown.html new file mode 100644 index 00000000..42590f37 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.textarrows.html new file mode 100644 index 00000000..0d365153 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-minimal-setup-compact.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.html b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.html index f152838e..a5689337 100644 --- a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.html +++ b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.print.html b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.print.html index 34bb49f4..004e4701 100644 --- a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.scissors.html b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.scissors.html new file mode 100644 index 00000000..a3aebf01 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.scissorsdown.html new file mode 100644 index 00000000..74ce78ed --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-minimal-setup.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.textarrows.html new file mode 100644 index 00000000..485073a4 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-minimal-setup.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.html index e43a8686..91cfcb45 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.print.html index 78159b83..7773e682 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.scissors.html new file mode 100644 index 00000000..cb1d6865 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.scissors.html @@ -0,0 +1,257 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.scissorsdown.html new file mode 100644 index 00000000..4a84a7f2 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.scissorsdown.html @@ -0,0 +1,267 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.textarrows.html new file mode 100644 index 00000000..2461a2ec --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor-compact.svg.textarrows.html @@ -0,0 +1,247 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.html index 7df6d1f6..9b72d810 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.html index 0a6847d6..f2d13db3 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissors.html new file mode 100644 index 00000000..3ead74f9 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissors.html @@ -0,0 +1,257 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.html new file mode 100644 index 00000000..c92cc342 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.html @@ -0,0 +1,267 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.html new file mode 100644 index 00000000..7e558e29 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.html @@ -0,0 +1,247 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.html index e1344f89..ac121bb8 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.print.html index 672192e6..12b59990 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.scissors.html new file mode 100644 index 00000000..9266bfea --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.scissorsdown.html new file mode 100644 index 00000000..28a2936d --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.textarrows.html new file mode 100644 index 00000000..8cf67515 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses-compact.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.html index 1b92b140..04002921 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.html index 63abf591..63e2edc7 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissors.html new file mode 100644 index 00000000..bb3cacde --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.html new file mode 100644 index 00000000..9378a73a --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.html new file mode 100644 index 00000000..ec001032 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

Reference

12 34567 89012 34567 89012 34567

Payable by

Heaps of Characters International Trading Company of Switzerland GmbH
+Street of the Mighty Long Names Where Heroes Live and Villans Die 75
+1000 Lausanne au bord du lac, où le soleil brille encore la nuit

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.html index 61ace3e5..cc86003b 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.print.html index f35a4c75..9eb0cd6f 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.scissors.html new file mode 100644 index 00000000..b53c3c4b --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.scissors.html @@ -0,0 +1,262 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.scissorsdown.html new file mode 100644 index 00000000..b4f85184 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.scissorsdown.html @@ -0,0 +1,272 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.textarrows.html new file mode 100644 index 00000000..3e7ea7f0 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor-compact.svg.textarrows.html @@ -0,0 +1,252 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.html index 61caadd9..46ec1a4c 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.print.html index af550871..c578523b 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.scissors.html new file mode 100644 index 00000000..2ce64ebc --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.scissors.html @@ -0,0 +1,262 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.html new file mode 100644 index 00000000..ae650892 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.html @@ -0,0 +1,272 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.html new file mode 100644 index 00000000..11ebef40 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.html @@ -0,0 +1,252 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.html index d75b050b..095b9be9 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.print.html index 0795ef6e..a1dbde74 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.scissors.html new file mode 100644 index 00000000..2b1287db --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.scissorsdown.html new file mode 100644 index 00000000..6466ec34 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.textarrows.html new file mode 100644 index 00000000..6894e7de --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount-compact.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.html index c98fb817..12ad06e3 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.print.html index 354f6a93..ed87b89a 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.scissors.html new file mode 100644 index 00000000..36bcd602 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.scissorsdown.html new file mode 100644 index 00000000..913e311e --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.textarrows.html new file mode 100644 index 00000000..1e524bae --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-without-amount.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.html index 0d43a913..5b4f01de 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.print.html index cc0062fc..ea4fc5c6 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.scissors.html new file mode 100644 index 00000000..cc686410 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

DO NOT USE FOR PAYMENT

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.scissorsdown.html new file mode 100644 index 00000000..b041459a --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

DO NOT USE FOR PAYMENT

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.textarrows.html new file mode 100644 index 00000000..07c94ce9 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount-compact.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

DO NOT USE FOR PAYMENT

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.html index fa867742..63b96d90 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.print.html index 82e1d875..564da034 100644 --- a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.scissors.html new file mode 100644 index 00000000..d2a50e04 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

DO NOT USE FOR PAYMENT

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.scissorsdown.html new file mode 100644 index 00000000..ce6415e5 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

DO NOT USE FOR PAYMENT

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.textarrows.html new file mode 100644 index 00000000..37feaea1 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-information-zero-amount.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by (name/address)

+
+
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

EUR

+
+
+

Amount

0.00

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Additional information

DO NOT USE FOR PAYMENT

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.html index c7e77435..60a197b5 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.print.html index cb28b5df..af0e2252 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.scissors.html new file mode 100644 index 00000000..ad13dd83 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.scissorsdown.html new file mode 100644 index 00000000..58675ff5 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.textarrows.html new file mode 100644 index 00000000..de57fe7b --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non-compact.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.html b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.html index c0b8539f..0e5d879a 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.print.html index da4fc0c5..ca7275a4 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.scissors.html new file mode 100644 index 00000000..ecec8124 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.scissorsdown.html new file mode 100644 index 00000000..5c680f91 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.textarrows.html new file mode 100644 index 00000000..5fa9649e --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-non.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.html index 2fbae7b7..e5f0800f 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.print.html index 40bae05a..7afadd51 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.scissors.html new file mode 100644 index 00000000..83e57400 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.scissorsdown.html new file mode 100644 index 00000000..7a402534 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.textarrows.html new file mode 100644 index 00000000..f7017a0e --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor-compact.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.html index 5d1d925a..2ebcad9b 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.print.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.print.html index 3db3375c..a0be88a7 100644 --- a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.scissors.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.scissors.html new file mode 100644 index 00000000..107328e0 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.scissors.html @@ -0,0 +1,258 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.scissorsdown.html new file mode 100644 index 00000000..9f228377 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.scissorsdown.html @@ -0,0 +1,268 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.textarrows.html new file mode 100644 index 00000000..424711d2 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-payment-reference-scor.svg.textarrows.html @@ -0,0 +1,248 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH93 0076 2011 6238 5295 7
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

RF18 5390 0754 7034

Payable by (name/address)

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.html index e16afda4..b735450e 100644 --- a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.html +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.print.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.print.html index 5c04906b..37983847 100644 --- a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.scissors.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.scissors.html new file mode 100644 index 00000000..519c99e0 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.scissors.html @@ -0,0 +1,262 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.scissorsdown.html new file mode 100644 index 00000000..229c14cf --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.scissorsdown.html @@ -0,0 +1,272 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.textarrows.html new file mode 100644 index 00000000..d6a247fe --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor-compact.svg.textarrows.html @@ -0,0 +1,252 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.html index f7e932fe..7c2ab01b 100644 --- a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.html +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.print.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.print.html index d1fddf70..093f5b61 100644 --- a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.print.html +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.print.html @@ -100,7 +100,7 @@ #qr-bill-receipt { box-sizing: border-box; width: 62mm; - border-right: 0.2mm solid black; + border-right: 0.75pt solid black; padding-left: 5mm; padding-top: 5mm; vertical-align: top; diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.scissors.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.scissors.html new file mode 100644 index 00000000..edeb14b0 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.scissors.html @@ -0,0 +1,262 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.scissorsdown.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.scissorsdown.html new file mode 100644 index 00000000..9e908385 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.scissorsdown.html @@ -0,0 +1,272 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.textarrows.html b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.textarrows.html new file mode 100644 index 00000000..26bbfac0 --- /dev/null +++ b/tests/TestData/HtmlOutput/qr-ultimate-debtor.svg.textarrows.html @@ -0,0 +1,252 @@ + + + + + + + + + + + +
Separate before paying in
+

Receipt

+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+

Acceptance point

+
+
+
+

Payment part

+ +
+
+

Currency

CHF

+
+
+

Amount

25.90

+
+
+
+
+
+

Account / Payable to

CH44 3199 9123 0008 8901 2
+Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

Reference

12 34567 89012 34567 89012 34567

Payable by

Thomas LeClaire
+Rue examplaire 22a
+1000 Lausanne

+
+
+
+

+
+
\ No newline at end of file diff --git a/tests/TestData/TcPdfOutput/qr-additional-information.svg.pdf b/tests/TestData/TcPdfOutput/qr-additional-information.svg.pdf index b583a24c..5811d0d6 100644 Binary files a/tests/TestData/TcPdfOutput/qr-additional-information.svg.pdf and b/tests/TestData/TcPdfOutput/qr-additional-information.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-additional-information.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-additional-information.svg.print.pdf index 8a6e0da1..f4e4ec0a 100644 Binary files a/tests/TestData/TcPdfOutput/qr-additional-information.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-additional-information.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-additional-information.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-additional-information.svg.scissors.pdf new file mode 100644 index 00000000..de86aaa3 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-additional-information.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-additional-information.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-additional-information.svg.scissorsdown.pdf new file mode 100644 index 00000000..957fd7e9 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-additional-information.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-additional-information.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-additional-information.svg.textarrows.pdf new file mode 100644 index 00000000..88405f93 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-additional-information.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.pdf b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.pdf index 48eafbce..72baff99 100644 Binary files a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.pdf and b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.print.pdf index 13293d10..865019d3 100644 Binary files a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.scissors.pdf new file mode 100644 index 00000000..cb4561ac Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.scissorsdown.pdf new file mode 100644 index 00000000..cc6ba6da Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.textarrows.pdf new file mode 100644 index 00000000..09b1ca20 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-alternative-schemes.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-full-set.svg.pdf b/tests/TestData/TcPdfOutput/qr-full-set.svg.pdf index b3b93e75..73e3d57e 100644 Binary files a/tests/TestData/TcPdfOutput/qr-full-set.svg.pdf and b/tests/TestData/TcPdfOutput/qr-full-set.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-full-set.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-full-set.svg.print.pdf index cbdf5fd8..7de43f72 100644 Binary files a/tests/TestData/TcPdfOutput/qr-full-set.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-full-set.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-full-set.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-full-set.svg.scissors.pdf new file mode 100644 index 00000000..fa226b65 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-full-set.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-full-set.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-full-set.svg.scissorsdown.pdf new file mode 100644 index 00000000..ff89ce94 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-full-set.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-full-set.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-full-set.svg.textarrows.pdf new file mode 100644 index 00000000..afcbf4c2 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-full-set.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.pdf b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.pdf index a647e62b..579adf4d 100644 Binary files a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.pdf and b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.print.pdf index 1d628e1b..b8706647 100644 Binary files a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.scissors.pdf new file mode 100644 index 00000000..8c1cc907 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..478887ea Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..875e7746 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-international-ultimate-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.pdf b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.pdf index 6e7d8a54..4ee223fa 100644 Binary files a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.pdf and b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.print.pdf index 349c98b0..8f14d47e 100644 Binary files a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.scissors.pdf new file mode 100644 index 00000000..40b2379a Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.scissorsdown.pdf new file mode 100644 index 00000000..a495b747 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.textarrows.pdf new file mode 100644 index 00000000..cce43733 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-minimal-setup.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.pdf index 85bedb45..505ee3a3 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.pdf index e58fe263..742e014f 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissors.pdf new file mode 100644 index 00000000..c88f2f80 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..48997ae5 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..34e40665 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-with-mediumlong-creditor-and-unknown-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.pdf index 0aabc808..bb6851bc 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.pdf index 2ca1cde0..a224e978 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissors.pdf new file mode 100644 index 00000000..2e4db517 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.pdf new file mode 100644 index 00000000..5e99ee28 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.pdf new file mode 100644 index 00000000..07201c61 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-and-long-addresses.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.pdf index d4959dda..1879f8fd 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.print.pdf index 7d5b3b43..9e0f453e 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissors.pdf new file mode 100644 index 00000000..f6de10bf Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..4faa6da6 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..f0fdc9c4 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount-but-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.pdf index ea9826be..1a7db3b9 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.print.pdf index fc771fa7..54ef9592 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.scissors.pdf new file mode 100644 index 00000000..cff57feb Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.scissorsdown.pdf new file mode 100644 index 00000000..788b36f4 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.textarrows.pdf new file mode 100644 index 00000000..5dbfe24e Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-without-amount.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.pdf index 05363c57..b7a69ede 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.print.pdf index 89ba899d..b3918deb 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.scissors.pdf new file mode 100644 index 00000000..f6232647 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.scissorsdown.pdf new file mode 100644 index 00000000..fa1d40ce Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.textarrows.pdf new file mode 100644 index 00000000..1f12abdd Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-information-zero-amount.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.pdf index 29ffd677..4e6fde06 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.print.pdf index c2ec749f..25abe3b1 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.scissors.pdf new file mode 100644 index 00000000..653ccfd7 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.scissorsdown.pdf new file mode 100644 index 00000000..50f06ad7 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.textarrows.pdf new file mode 100644 index 00000000..aa3a083c Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-reference-non.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.pdf index 7b6ee3bb..78ad806f 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.pdf and b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.print.pdf index 91b91c6e..e0ae94d1 100644 Binary files a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.scissors.pdf new file mode 100644 index 00000000..7cd4ec40 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.scissorsdown.pdf new file mode 100644 index 00000000..b2ca5efd Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.textarrows.pdf new file mode 100644 index 00000000..6ee19213 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-payment-reference-scor.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.pdf b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.pdf index 782a7f1b..e873ca29 100644 Binary files a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.pdf and b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.print.pdf b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.print.pdf index 10e4adc5..5cb825f2 100644 Binary files a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.print.pdf and b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.print.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.scissors.pdf b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.scissors.pdf new file mode 100644 index 00000000..55af466b Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.scissors.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.scissorsdown.pdf b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.scissorsdown.pdf new file mode 100644 index 00000000..a3ec4bf4 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.scissorsdown.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.textarrows.pdf b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.textarrows.pdf new file mode 100644 index 00000000..2554bac3 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-ultimate-debtor.svg.textarrows.pdf differ diff --git a/tests/TestData/TcPdfOutput/qr-utf8.svg.pdf b/tests/TestData/TcPdfOutput/qr-utf8.svg.pdf new file mode 100644 index 00000000..f8789f17 Binary files /dev/null and b/tests/TestData/TcPdfOutput/qr-utf8.svg.pdf differ diff --git a/tests/TestQrBillCreatorTrait.php b/tests/TestQrBillCreatorTrait.php index 9727dbba..3a0eb724 100644 --- a/tests/TestQrBillCreatorTrait.php +++ b/tests/TestQrBillCreatorTrait.php @@ -324,6 +324,16 @@ public function internationalUltimateDebtor(QrBill &$qrBill) )); } + public function utf8SpecialCharsUltimateDebtor(QrBill &$qrBill) + { + $qrBill->setUltimateDebtor(CombinedAddress::create( + 'Jôachim Kräutłą', + 'Ewigérmeisterstrasse 20', + '80331 München', + 'DE' + )); + } + public function invalidUltimateDebtor(QrBill &$qrBill) { $qrBill->setUltimateDebtor($this->invalidAddress());