diff --git a/src/ZugferdDocumentPdfBuilderAbstract.php b/src/ZugferdDocumentPdfBuilderAbstract.php index c1761b9c..a1db160b 100644 --- a/src/ZugferdDocumentPdfBuilderAbstract.php +++ b/src/ZugferdDocumentPdfBuilderAbstract.php @@ -587,10 +587,10 @@ private function updatePdfMetadata(): void $xmpNodes->{'ModifyDate'} = $pdfMetadataInfos['modifiedDate']; $this->pdfWriter->addMetadataDescriptionNode($descXmp->asXML()); - $this->pdfWriter->SetAuthor($pdfMetadataInfos['author']); - $this->pdfWriter->SetKeywords($pdfMetadataInfos['keywords']); - $this->pdfWriter->SetTitle($pdfMetadataInfos['title']); - $this->pdfWriter->SetSubject($pdfMetadataInfos['subject']); + $this->pdfWriter->SetAuthor($pdfMetadataInfos['author'], true); + $this->pdfWriter->SetKeywords($pdfMetadataInfos['keywords'], true); + $this->pdfWriter->SetTitle($pdfMetadataInfos['title'], true); + $this->pdfWriter->SetSubject($pdfMetadataInfos['subject'], true); } /**