3
25
Fork
You've already forked fpdf
10

PDF Document Properties are garbled #68

Open
opened 2024年04月12日 20:32:34 +02:00 by lordofscripts · 0 comments
lordofscripts commented 2024年04月12日 20:32:34 +02:00 (Migrated from github.com)
Copy link

After creating the FPDF object I set certain things like:

pdf.SetKeywords("one, two, three", false)
pdf.SetSubject("export of metadata", true)
pdf.SetTitle("Test document", false)
pdf.SetAuthor("John doe", false)

But as you can see from the image below, when viewing the document some of those properties are either garbled or empty. Even the title is garbled. It doesn't matter if I set the UTF8 flag to true or false.

IMG20240412133203.jpg

After creating the FPDF object I set certain things like: ``` pdf.SetKeywords("one, two, three", false) pdf.SetSubject("export of metadata", true) pdf.SetTitle("Test document", false) pdf.SetAuthor("John doe", false) ``` But as you can see from the image below, when viewing the document some of those properties are either garbled or empty. Even the title is garbled. It doesn't matter if I set the UTF8 flag to true or false. ![IMG20240412133203.jpg](https://github.com/go-pdf/fpdf/assets/8118933/306af6f5-ec60-49eb-a4bd-c913c7ef7fb7)
Sign in to join this conversation.
No Branch/Tag specified
main
v0.12.0
v0.11.1
v0.10.0
v0.11.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v1.4.3
v0.4.1
v0.4.0
v0.3.1
v0.3.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
go-pdf/fpdf#68
Reference in a new issue
go-pdf/fpdf
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?