NAME
PDF::API2::Resource::Font::SynFont - Module for using synthetic Fonts.
SYNOPSIS
#
use PDF::API2;
#
$pdf = PDF::API2->new;
$sft = $pdf->synfont($cft);
#
METHODS
- $font = PDF::API2::Resource::Font::SynFont->new $pdf, $fontobj, %options
-
Returns a synfont object.
Valid %options are:
-encode ... changes the encoding of the font from its default. See perl's Encode for the supported values.
-pdfname ... changes the reference-name of the font from its default. The reference-name is normally generated automatically and can be retrived via $pdfname=$font->name.
- $font = PDF::API2::Resource::Font::SynFont->new_api $api, $fontobj, %options
-
Returns a synfont object. This method is different from 'new' that it needs an PDF::API2-object rather than a PDF::API2::PDF::File-object.
AUTHOR
alfred reibenschuh
HISTORY
$Log: SynFont.pm,v $
Revision 1.3 2003/12/08 13:06:01 Administrator
corrected to proper licencing statement
Revision 1.2 2003/11/30 17:32:48 Administrator
merged into default
Revision 1.1.1.1.2.2 2003/11/30 16:57:05 Administrator
merged into default
Revision 1.1.1.1.2.1 2003/11/30 14:45:23 Administrator
added CVS id/log