Skip to content

Commit

Permalink
#208 Customizable PDF Metadata -> Additionally using FPDF-BuiltIn-Met…
Browse files Browse the repository at this point in the history
…adata methods (Fix UTF8)
  • Loading branch information
HorstOeko committed Dec 11, 2024
1 parent 17edaa7 commit 3735ae8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ZugferdDocumentPdfBuilderAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 3735ae8

Please sign in to comment.