NAME
PDFio::Architect - creating and manipulating PDF files
VERSION
Version 0.03
SYNOPSIS
use PDFio::Architect;
my $pdf = PDFio::Architect->new("test.pdf");
$pdf->load_font("F1", "Courier");
for (1 .. 10) {
my $page = $pdf->add_page({
size => "A4"
});
$page->add_text({
text => "Hello World"
font => "F1",
size => 12,
bounding_box => $pdf->new_rect(0, 0, $page->width, $page->height)
});
$page->done();
}
$pdf->total_pages; # 10
$pdf->save();
NOTE
This module is a work in progress and is not yet fully functional. It is intended to provide a framework for creating and manipulating PDF files, but many features are still under development.
DESCRIPTION
PDFio::Architect is a Perl module that provides an interface for creating and manipulating PDF files. It allows you to create new PDF files, add pages, load fonts, and perform various operations on the PDF content.
METHODS
new
add_page
add_font
save
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-pdfio-architect at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=PDFio-Architect. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc PDFio::Architect
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2025 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)