---
name: "PDF::API2::Util"
section: "3pm"
platform: "linux"
package: "libpdf-api2-perl"
version: "2.038-3"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/PDF::API2::Util"
---

# PDF::API2::Util(3pm)

utility package for often use methods across the package.

## NAME

PDF::API2::Util - utility package for often use methods across the package.

## PREDEFINED PAPERSIZES

- %sizes = **getPaperSizes()**;

  Returns a hash containing the available paper size aliases as keys and their dimensions as a two-element array reference.

## PREDEFINED COLORS

See the source of PDF::API2::Resource::Colors for a complete list.

**Please Note:** This is an amalgamation of the X11, SGML and (X)HTML specification sets.

## PREDEFINED GLYPH-NAMES

See the file `"uniglyph.txt"` for a complete list.

**Please Note:** You may notice that apart from the 'AGL/WGL4', names from the XML, (X)HTML and SGML specification sets have been included to enable interoperability towards PDF.
