gpdf
  • Docs
  • Blog
All posts

# internals

Posts tagged "internals"

May 19, 2026·gpdf team

Page numbers, headers, and footers that just work in Go PDFs

Add headers, footers, and 'Page X of Y' in Go PDFs with gpdf: two builder methods, a two-pass paginator that fills in the totals, no shims required.

tutorialinternals
Apr 29, 2026·Taiki Noda

Bootstrap thinking for PDF: gpdf's 12-column grid

gpdf borrows the 12-column grid from Bootstrap, but PDFs aren't web pages. Here's why 12 still works, and what we threw out: breakpoints, gutters, order.

internalstemplatescomparison
Apr 19, 2026·Taiki Noda

Why gpdf is 10–30× faster than other Go PDF libraries

gpdf generates a single PDF page in 13 µs and a 100-page report in 683 µs. Not a tuning trick — three architectural choices that compound. Here's the code path.

benchmarkinternalscomparison
FeaturesDocsBlog
gpdf

© 2026 gpdf. All rights reserved.