Changes for version 2.034 - 2019-06-29

  • SUPPORTED PERL VERSIONS: Starting with this release, PDF::API2 will support major Perl versions released in the past six years, plus the major release before that one. This should provide backward compatibility for the life of most LTS server distributions, while eliminating the need to troubleshoot warnings and bugs that only show up in increasingly-ancient versions of Perl.
    • For this release, it means that the minimum supported Perl is 5.18, which was first released on 2013-05-18.
  • Add support for cross-reference streams using 64-bit field widths.
  • When the utf8 flag is set for a PDF string, automatically encode it as UCS-16BE instead of requiring a separate flag to be set in the PDF object. This resolves [RT #33497] and [RT #117031] in addition to making the code easier to maintain.
  • [RT #126274] Fix alignment when using UniFont with text_center or text_right when all characters are in the same block.
  • [RT #121911] Fix adding pages to a document structure with nested Pages elements. This included a fairly substantial rewrite of the relevant code, so please report any new bugs related to adding pages (report and troubleshooting by Vadim Repin).
  • Renamed pdfile() to pdf_file() in PDF::API2::Annotation and PDF::API2::Outline. The old name continues to work, but is deprecated.

Modules

Facilitates the creation and modification of PDF files
Add annotations to a PDF
Corresponds to a PDF array. Inherits from PDF::Objind
A special form of PDF::String which holds the strings true or false
PDF Dictionaries and Streams. Inherits from PDF::Objind
Holds the trailers and cross-reference tables for a PDF file
Abstract superclass for PDF stream filters
Inherits from PDF::API2::Basic::PDF::String and stores PDF names (things beginning with /)
PDF Null type object. This is a subclass of PDF::API2::Basic::PDF::Objind and cannot be subclassed.
Numbers in PDF. Inherits from PDF::API2::Basic::PDF::String
PDF indirect object reference. Also acts as an abstract superclass for all elements in a PDF file.
Represents a PDF page, inherits from PDF::API2::Basic::PDF::Pages
a PDF pages hierarchical element. Inherits from PDF::API2::Basic::PDF::Dict
PDF String type objects and superclass for simple objects that are basically stringlike (Number, Name, etc.)
Utility functions for PDF library
Methods for adding graphics and text to a PDF
lite pdf creation
Add named destination shortcuts to a PDF
Manage PDF outlines (a.k.a. bookmarks)
Methods to interact with individual pages
Base class for PDF resources
Base class for font resources
Base class for CID fonts
Base class for CJK fonts
Base class for PDF color spaces
Support for color space separations
Graphics state dictionary support
Module for using bitmapped Fonts.
Module for using the 14 PDF built-in Fonts.
Module for using synthetic Fonts.
Unicode Font Support
Base class for external objects
Base class for external form objects
Base class for one-dimensional barcodes
Code 128 and EAN-128 barcode support
Base class for external raster image objects
utility package for often use methods across the package.

Provides

in lib/PDF/API2/Win32.pm
in lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm
in lib/PDF/API2/Basic/PDF/Filter/ASCIIHexDecode.pm
in lib/PDF/API2/Basic/PDF/Filter/FlateDecode.pm
in lib/PDF/API2/Basic/PDF/Filter/LZWDecode.pm
in lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm
in lib/PDF/API2/Basic/PDF/Literal.pm
in lib/PDF/API2/Content/Text.pm
in lib/PDF/API2/Matrix.pm
in lib/PDF/API2/Outlines.pm
in lib/PDF/API2/Resource/CIDFont/TrueType/FontFile.pm
in lib/PDF/API2/Resource/ColorSpace/DeviceN.pm
in lib/PDF/API2/Resource/ColorSpace/Indexed.pm
in lib/PDF/API2/Resource/ColorSpace/Indexed/Hue.pm
in lib/PDF/API2/Resource/ColorSpace/Indexed/WebColor.pm
in lib/PDF/API2/Resource/Colors.pm
in lib/PDF/API2/Resource/Font.pm
in lib/PDF/API2/Resource/Font/CoreFont/bankgothic.pm
in lib/PDF/API2/Resource/Font/CoreFont/courier.pm
in lib/PDF/API2/Resource/Font/CoreFont/courierbold.pm
in lib/PDF/API2/Resource/Font/CoreFont/courierboldoblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/courieroblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgia.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgiabold.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgiabolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/georgiaitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/helvetica.pm
in lib/PDF/API2/Resource/Font/CoreFont/helveticabold.pm
in lib/PDF/API2/Resource/Font/CoreFont/helveticaboldoblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/helveticaoblique.pm
in lib/PDF/API2/Resource/Font/CoreFont/symbol.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesbold.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesbolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/timesroman.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchet.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchetbold.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchetbolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/trebuchetitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdana.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdanabold.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdanabolditalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/verdanaitalic.pm
in lib/PDF/API2/Resource/Font/CoreFont/webdings.pm
in lib/PDF/API2/Resource/Font/CoreFont/wingdings.pm
in lib/PDF/API2/Resource/Font/CoreFont/zapfdingbats.pm
in lib/PDF/API2/Resource/Font/Postscript.pm
in lib/PDF/API2/Resource/Glyphs.pm
in lib/PDF/API2/Resource/PaperSizes.pm
in lib/PDF/API2/Resource/Pattern.pm
in lib/PDF/API2/Resource/Shading.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/codabar.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/code3of9.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/ean13.pm
in lib/PDF/API2/Resource/XObject/Form/BarCode/int2of5.pm
in lib/PDF/API2/Resource/XObject/Form/Hybrid.pm
in lib/PDF/API2/Resource/XObject/Image/GD.pm
in lib/PDF/API2/Resource/XObject/Image/GIF.pm
in lib/PDF/API2/Resource/XObject/Image/JPEG.pm
in lib/PDF/API2/Resource/XObject/Image/PNG.pm
in lib/PDF/API2/Resource/XObject/Image/PNM.pm
in lib/PDF/API2/Resource/XObject/Image/TIFF/File.pm
in lib/PDF/API2/UniWrap.pm
in lib/PDF/API2/Win32.pm