Hackage

HPDF

A PDF library with support for several pages, page transitions, outlines, annotations, compression, colors, shapes, patterns, jpegs, fonts, typesetting…

Have a look at the “Graphics.PDF.Documentation” module to see how to use it.

Or, download the package and look at the test.hs file in the Test folder. That file is giving an example of each feature.

Documentation

The library documentation can be accessed on Hackage

TO TEST THE LIBRARY

stack run HPDF-demo open demo.pdf

Changes

Changelog for HPDF package

1.7

  • Add transparency support and more function types (#16)

1.6.1

  • Fix for building with mtl-2.3

1.6.0

  • Allow parsing afm-data from bytestring

1.5.3

  • Fixed distribution issue (font files not correctly embedded in the sdist archive)

1.5.2

  • Embed fonts and encodings

1.5.1

  • Fix JPEG support

1.5.0

  • Fix build with recent compilers
  • Use hyphenation package