
PDF::Maki - Useful wrappers for PDF::API2.

use PDF::API2;
use PDF::Maki;
#

PDF::Maki installs several alternative/additional methods into the PDF::API2 namespaces so advanced features become available outside the normal fixing/patch cycle of PDF::API2.
Stable methods will be migrated to PDF::API2 on fixed release states.

*** DEVELOPER VERSION ***
register font for face/weight/style.
*** DEVELOPER VERSION ***
looking up the spec. face/weight/style or falling back to the default face.
*** DEVELOPER VERSION ***
looking up the spec. face/weight/style or falling back to alternative styles/weights.

*** DEVELOPER VERSION ***
Applys text with options and returns the width of the given text.
Example:
$page->textlabel(300,700,$myfont,20,'Page Header',
-rotate => -30,
-color => '#FF0000',
-hspace => 120,
-center => 1,
);
This simply a proxy-method to the equivalent PDF::API2::Content method.
*** EXPERIMENTAL VERSION ***
Example:
$utr=$pdf->corefont('Times-Roman', -encode=>'latin1');
$page->textmarkup($xml,
-x=>100,
-y=>700,
-w=>400,
-fontreg=>[
[ $utr,'times','regular','regular' ],
[ $utb,'times','bold','regular' ],
[ $uti,'times','regular','italic' ],
[ $utz,'times','bold','regular' ],
]
);

alfred reibenschuh

$Log: Maki.pm,v $
Revision 1.1.1.1 2005/02/17 14:51:57 fredo
no message