Skip to content

engine: take go-pdfkit v0.10.0 so accented bookmark titles are correct - #207

Merged
tannevaled merged 1 commit into
mainfrom
bump-pdfkit-v010
Sep 3, 2026
Merged

engine: take go-pdfkit v0.10.0 so accented bookmark titles are correct#207
tannevaled merged 1 commit into
mainfrom
bump-pdfkit-v010

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

go-pdfkit v0.10.0 (go-pdfkit/pdfkit#24) writes a non-ASCII PDF text string (/Title, /Author, outline /Title) as UTF-16BE, so an accented section heading — \section{Résumé} — shows correctly in a viewer's bookmark sidebar instead of as mojibake. The engine already passes the UTF-8 title through AddOutlineItem; this bump makes the encoding right.

Bumps go-pdfkit v0.9.0 → v0.10.0. Verified: a \section{Résumé} document renders a PDF whose outline title is UTF-16BE (<FEFF…>), not the raw UTF-8 bytes. Full engine suite, go vet, gofmt green.

Completes the PDF bookmark feature for accented (e.g. French) documents.

🤖 Generated with Claude Code

go-pdfkit v0.10.0 writes a non-ASCII PDF text string (/Title, /Author, outline
/Title) as UTF-16BE, so an accented section heading — \section{Résumé} — shows
correctly in a viewer's bookmark sidebar instead of as mojibake. The engine already
passes the UTF-8 title through AddOutlineItem; this bump makes the encoding right.

Bumps go-pdfkit v0.9.0 -> v0.10.0. Verified: a \section{Résumé} document renders a
PDF whose outline title is UTF-16BE (<FEFF…>), not the raw UTF-8 bytes; full engine
suite green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 2f5c7ab into main Sep 3, 2026
18 checks passed
@tannevaled
tannevaled deleted the bump-pdfkit-v010 branch September 3, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant