engine: hyperref pdfsubject/pdfkeywords complete the PDF metadata set - #212
Merged
Conversation
Bumps go-pdfkit v0.10.0 -> v0.11.0, which adds Options.Subject and Keywords, and
wires \hypersetup{pdfsubject=…,pdfkeywords=…} (both invocation forms) to them. With
pdftitle/pdfauthor already in place, the four standard hyperref PDF /Info fields are
now supported. Accented values are UTF-16BE via go-pdfkit's text strings.
Verified: pdfsubject/pdfkeywords render /Subject and /Keywords in the info
dictionary; full engine suite, conformance ratchet, go vet and gofmt green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps go-pdfkit v0.10.0 → v0.11.0 (go-pdfkit/pdfkit#25), which adds
Options.Subject/Keywords, and wires\hypersetup{pdfsubject=…,pdfkeywords=…}(both the\hypersetupand\usepackage[…]{hyperref}forms) to them.With
pdftitle/pdfauthoralready in place (#211), the four standard hyperref PDF/Infofields are now supported. Accented values are UTF-16BE via go-pdfkit's text strings.Verification
pdfsubject/pdfkeywordsrender/Subjectand/Keywordsin the (uncompressed) info dictionary. Full engine suite, conformance ratchet,go vetandgofmtgreen.Completes the hyperref PDF-metadata set.
🤖 Generated with Claude Code