BSD-3-Clause licensed
Maintained by sylvain@haskus.fr
This version can be pinned in stack with:HPDF-1.6.0@sha256:c3697fd4fe227f5f3650fc2785bd3c6276f06f22b017b4401d17a5daae3a76b1,3781

Module documentation for 1.6.0

  • Graphics
    • Graphics.PDF
      • Graphics.PDF.Action
      • Graphics.PDF.Annotation
      • Graphics.PDF.Colors
      • Graphics.PDF.Coordinates
      • Graphics.PDF.Document
      • Graphics.PDF.Documentation
      • Graphics.PDF.Fonts
        • Graphics.PDF.Fonts.Font
        • Graphics.PDF.Fonts.FontTypes
        • Graphics.PDF.Fonts.StandardFont
        • Graphics.PDF.Fonts.Type1
      • Graphics.PDF.Image
      • Graphics.PDF.Navigation
      • Graphics.PDF.Pattern
      • Graphics.PDF.Shading
      • Graphics.PDF.Shapes
      • Graphics.PDF.Text
      • Graphics.PDF.Typesetting
        • Graphics.PDF.Typesetting.WritingSystem
Used by 1 package in nightly-2022-12-08(full list with versions):

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.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