#golang PDF document generator with high level support for text, drawing and images

https://github.com/jung-kurt/gofpdf

Package gofpdf implements a PDF document generator with high level support for text, drawing and images.

Features

  • Choice of measurement unit, page format and margins
  • Page header and footer management
  • Automatic page breaks, line breaks, and text justification
  • Inclusion of JPEG, PNG, GIF, TIFF and basic path-only SVG images
  • Colors, gradients and alpha channel transparency
  • Outline bookmarks
  • Internal and external links
  • TrueType, Type1 and encoding support
  • Page compression
  • Lines, B├ęzier curves, arcs, and ellipses
  • Rotation, scaling, skewing, translation, and mirroring
  • Clipping
  • Document protection
  • Layers
  • Templates
  • Barcodes

gofpdf has no dependencies other than the Go standard library. All tests pass on Linux, Mac and Windows platforms.

Share This: