PDF::Cairo Examples

Scripts that test or demonstrate various features of the modules that make up PDF::Cairo. Many of them were converted from PDF::API2::Lite.

The slice() and grid() methods in PDF::Cairo::Box have a variety of options to distribute the leftover space between columns/rows.

Generate a progressive/gapless calendar, using the DateTime module to handle all of the calculations and localization.

Create a terrible cheesy mockup of a 'newspaper' front page, to test a realistic combination of the module's features. This has been useful for exposing bugs and identifying missing API features.

Create a Traveller-style hex grid. Uses PDF::Cairo::Box to simplify the code for adding data to each grid cell.

Quick test of the loadimage()/showimage() methods.

Drafting grid for inkle weaving.

Isometric drawing paper.

Kanji/kana practice sheets. TODO: add grayed-out sample characters in an appropriate font to trace over.

Quick test of Pango layout support in PDF::Cairo::Layout.

Test of the polygon() method.

Test of using Image::CairoSVG to render SVG files.

Japanese vertical-text report-writing paper.

Test of extracting font outlines with textpath().

Clone of a popular notebook paper style.