Author image Phil M. Perry
and 1 contributors

Changes for version 3.022 - 2021-03-27

  • docs/buildDoc.pl add "end of page" (###) marker to make it clear that you're seeing the bottom of the HTML page.
  • Update build process to ensure consistent "unix" formatting of most human-readable files (#150). Some non-CPAN builds were complaining about MS-DOS format (CRLF line ends) on some files.
  • t/tiff.t, lib/PDF/Builder/Resource/XObject/Image/TIFF-TIFF_GT.pm Per #148, update by carygravel to stop converting LZW-compressed TIFFs to Flate compression (unnecessary, as PDF directly supports LZW, and there were supposedly some edge-case bugs in the code).
    • REMOVED == still problems, development under way
  • t/tiff.t per #143, update by carygravel to enable proper TIFF testing on all platforms including Windows.
  • lib/PDF/Builder/Content-Lite.pm, INFO/DEPRECATED, t/content.t Per PDF::API2, deprecated lead() and replace by leading(). Lite's textlead() deprecated and replaced by textleading().
  • t/text.t Per PDF::API2 add two tests for charspace and wordspace override, and 18 more tests for basic text calls.
  • lib/PDF/Builder/Content/Text.pm, INFO/KNOWN_INCOMP Per PDF::API2, add paragraphs() as an alias for section(). Document some minor inconsistencies in option names and behavior introduced with these changes.
  • lib/PDF/Builder/Annotation.pm, lib/PDF/Builder/Basic/PDF/Dict-File.pm, lib/PDF/Builder/Resource/Font/SynFont.pm, examples/041_annot_fileattach, examples/060_transparency, examples/resources/sample_55.pdf, examples/resources/HarfBuzz_example.pdf Output 'endobj' starting its own line. Some PDF validators raise a stink if endobj continues a line with other commands on it. While we're at it, put 'stream' starting its own line, too. Fix two examples that failed to validate. There is a third failure, but it appears to be an issue with PDF/A disallowed content (embedded files), not a bug in PDF production here.
  • lib/PDF/Builder/Resource/Font/SynFont.pm, INFO/DEPRECATED, examples/025_unifonts, lib/PDF/Builder/Docs.pm Fix uninitialized value (missingwidth), remove -slant (deprecated).
  • lib/PDF/Builder/Resource/XObject/Image/TIFF.pm Corrected some bilevel color inverts.
  • lib/PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm, lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm Some improvements to deal with inverted colors (black/white) on certain TIFF images. Now G3 and G4 (CCITT Fax) get flipped to the correct colors, as does uncompressed bilevel. There are still some TIFF cases which are not fully properly dealt with; we are still working on them.
  • lib/PDF/Builder/Annotation.pm, examples/040_annotation, examples/041_annot_fileattach Add "-opacity" option to control the opacity (opaqueness) of the icon, where the default of 1.0 is fully opaque, and 0.0 is fully transparent. Add "markup" method to implement "highlighted" text annotations, per [GitHub #142]. These include "Highlight" (in the manner of a highlighter marker), "Squiggly" (squiggly underline), "Underline", and "StrikeOut". These behave like a "text" annotation, but instead of an icon, the document text is highlighted.
  • lib/PDF/Builder/Content.pm improve -strikethru placement
  • INFO/LICENSE, README.md, lib/PDF/Builder/Basic/PDF/Array-Bool-Dict- File-Filter-Name-Null-Number-Objind-Page-Pages-String-Utils.pm Update file headers on code originally written by Martin Hosken to reflect that he has granted permission to use the MIT license instead of the Perl Artistic License on his code. This change was made so that Red Hat could have licensing compatible with LGPL for releasing PDF::Builder as part of Fedora.
  • INFO/Changes_2020, Changes, MANIFEST, lib/PDF/Builder.pm, README.md, INFO/LICENSE 2021 copyright, archive 2020 changes.
  • (see INFO/Changes_2020 for earlier changes) (see INFO/Changes-ver_2 for changes to PDF::API2 up through 2.033)

Modules

Facilitates the creation and modification of PDF files
Add annotations to a PDF
Various utilities and support routines
Corresponds to a PDF array. Inherits from PDF::Builder::Basic::PDF::Objind
A special form of PDF::Builder::Basic::PDF::String which holds the strings true or false
PDF Dictionaries and Streams. Inherits from PDF::Builder::Basic::PDF::Objind
Holds the trailers and cross-reference tables for a PDF file
Abstract superclass for PDF stream filters
compress and uncompress stream filters for ASCII-85
compress and uncompress stream filters for ASCII-Hex
compress and uncompress stream filters for Flate
compress and uncompress stream filters for Lempel-Ziv-Welch
compress and uncompress stream filters for Run-Length
Literal PDF Object. Inherits from PDF::Builder::Basic::PDF::Objind
Inherits from PDF::Builder::Basic::PDF::String and stores PDF names (things beginning with /)
PDF Null type object. This is a subclass of PDF::Builder::Basic::PDF::Objind and cannot be subclassed.
Numbers in PDF. Inherits from PDF::Builder::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::Builder::Basic::PDF::Pages
a PDF pages hierarchical element. Inherits from PDF::Builder::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
Simple hyphenation capability
additional specialized text-related formatting methods. Inherits from PDF::Builder::Content
additional documentation for Builder module
Lightweight PDF creation methods
matrix operations library
Add named destination shortcuts to a PDF
Manage PDF outlines (a.k.a. bookmarks)
further Outline handling. Inherits from PDF::Builder::Outline
Methods to interact with individual pages
Base class for PDF resources. Inherit from PDF::Builder::Basic::PDF::Dict
Base class for font resources
Base class for CID fonts
Base class for CJK fonts
additional code support for TT font files. Inherits from PDF::Builder::Basic::PDF::Dict
Base class for PDF color spaces
colorspace handling for Device CMYK. Inherits from PDF::Builder::Resource::ColorSpace
base colorspace support for indexed color models. Inherits from PDF::Builder::Resource::ColorSpace
colorspace support for Device RGB. Inherits from PDF::Builder::Resource::ColorSpace::Indexed
colorspace support for "Web Safe" Device RGB colors. Inherits from PDF::Builder::Resource::ColorSpace::Indexed
Support for color space separations
translate color names into RGB settings
Graphics state dictionary support
some common support routines for font files. Inherits from PDF::Builder::Resource::BaseFont
Module for using bitmapped Fonts.
Module for using the 14 PDF built-in Fonts.
font-specific information for Bank Gothic font (not standard PDF core)
font-specific information for regular Courier font
font-specific information for bold weight Courier font
font-specific information for bold weight + slanted Courier font
font-specific information for slanted Courier font
font-specific information for regular Georgia font (not standard PDF core)
font-specific information for bold weight Georgia font (not standard PDF core)
font-specific information for bold weight + italic Georgia font (not standard PDF core)
font-specific information for italic Georgia font (not standard PDF core)
font-specific information for regular Helvetica font. Metrics and glyph list from Arial typeface.
font-specific information for bold weight Helvetica font. Metrics and glyph list from Arial typeface.
font-specific information for bold weight + slanted Helvetica font. Metrics and glyph list from Arial font.
font-specific information for slanted Helvetica font. Metrics and glyph list from Arial font.
font-specific information for the Symbol font
font-specific information for bold weight Times font
font-specific information for bold weight + italic Times font
font-specific information for italic Times font
font-specific information for regular (roman) Times font
font-specific information for regular Trebuchet font (not standard PDF core)
font-specific information for bold-weight Trebuchet font (not standard PDF core)
font-specific information for bold weight + italic Trebuchet font (not standard PDF core)
font-specific information for italic Trebuchet font (not standard PDF core)
font-specific information for regular Verdana font (not standard PDF core)
font-specific information for bold weight Verdana font (not standard PDF core)
font-specific information for bold weight + italic Verdana font (not standard PDF core)
font-specific information for italic Verdana font (not standard PDF core)
font-specific information for WebDings symbol font (not standard PDF core)
font-specific information for WingDings symbol font (not standard PDF core)
font-specific information for Zapf Dingbats symbol font
support routines for using PostScript fonts. Inherits from PDF::Builder::Resource::Font
Module for using synthetic Fonts.
preparsed uniglyph.txt file information
list of standard paper sizes and their dimensions
support stub for patterns. Inherits from PDF::Builder::Resource
support stub for shading patterns. Inherits from PDF::Builder::Resource
Unicode Font Support
Base class for external objects
Base class for external form objects
Base class for one-dimensional barcodes
specific information for CodaBar bar codes. Inherits from PDF::Builder::Resource::XObject::Form::BarCode
Code 128 and EAN-128 barcode support
specific information for 3-of-9 bar codes. Inherits from PDF::Builder::Resource::XObject::Form::BarCode
specific information for EAN-13 bar codes. Inherits from PDF::Builder::Resource::XObject::Form::BarCode
specific information for int 2-of-5 bar codes. Inherits from PDF::Builder::Resource::XObject::Form::BarCode
support routines for Forms. Inherits from PDF::Builder::Content, PDF::Builder::Content::Text, and PDF::Builder::Resource::XObject::Form
Base class for external raster image objects
support routines for Graphics Development image library. Inherits from PDF::Builder::Resource::XObject::Image
support routines for GIF image library. Inherits from PDF::Builder::Resource::XObject::Image
support routines for JPEG image library. Inherits from PDF::Builder::Resource::XObject::Image
support routines for PNG image library (using pure Perl code). Inherits from PDF::Builder::Resource::XObject::Image
support routines for PNG image library (using Image::PNG::Libpng). Inherits from PDF::Builder::Resource::XObject::Image
support routines for PNM (Portable aNy Map) image library. Inherits from PDF::Builder::Resource::XObject::Image
support routines for TIFF image library
support routines for TIFF image library (Graphics::TIFF enabled)
TIFF image support (Graphics::TIFF enabled)
support routines for finding line breakpoints with Unicode text
utility package for often-used methods across the package.