You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following issues were discovered as shown in the image while rendering alternative schemes in pdfs:
a) longer value is word-wrapped
b) text is in wrong size
A value for the alternative scheme is appended as followed: $qrBill->addAlternativeScheme(QrBill\DataGroup\Element\AlternativeScheme::create('CC/XRPL/10/rGqMTWrkWnb8ekVsZeNeS9t1pKBAAVDzSM'));
Reason a)
In FpdfOutput.php, for $this->setContentElement($furtherInformationElement, true) true is passed instead of false (argument bool $isReceiptPart)
Reason b)
In FpdfOutput.php, setTextElement always sets $this->fpdf->SetFont(...) overriding previously set values in addFurtherInformationContent().
The text was updated successfully, but these errors were encountered:
rsteimen
changed the title
Wrong pdf rendering for AlternativeSchemes
Pdf rendering issues for AlternativeSchemes
Feb 20, 2023
Following issues were discovered as shown in the image while rendering alternative schemes in pdfs:
a) longer value is word-wrapped
b) text is in wrong size
A value for the alternative scheme is appended as followed:
$qrBill->addAlternativeScheme(QrBill\DataGroup\Element\AlternativeScheme::create('CC/XRPL/10/rGqMTWrkWnb8ekVsZeNeS9t1pKBAAVDzSM'));
Reason a)
In FpdfOutput.php, for
$this->setContentElement($furtherInformationElement, true)
true is passed instead of false (argumentbool $isReceiptPart
)Reason b)
In FpdfOutput.php,
setTextElement
always sets$this->fpdf->SetFont(...)
overriding previously set values inaddFurtherInformationContent()
.The text was updated successfully, but these errors were encountered: