The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
$font = PDF::API2::Resource::CIDFont::TrueType->new $pdf, $file, %options

Returns a font object.

Defined Options:

    -encode ... specify fonts encoding for non-utf8 text.

    -nosubset ... disables subsetting.
$font = PDF::API2::Resource::CIDFont::TrueType->new_api $api, $file, %options

Returns a truetype-font object. This method is different from 'new' that it needs an PDF::API2-object rather than a Text::PDF::File-object.

AUTHOR

alfred reibenschuh

HISTORY

    $Log: TrueType.pm,v $
    Revision 2.5  2009/03/20 09:54:46  areibens
    rt.cpan.org #42524: strange space size after update on 0.72.003 from 0.71

    Revision 2.4  2008/11/20 19:51:01  areibens
    perf henning.just@datagraf.dk

    Revision 2.3  2007/11/16 19:27:32  areibens
    fixed -noembed option

    Revision 2.2  2007/10/23 07:45:49  areibens
    fixed width encoding for wrong advance codes

    Revision 2.1  2007/03/17 20:38:51  areibens
    replaced IOString dep. with scalar IO.

    Revision 2.0  2005/11/16 02:16:04  areibens
    revision workaround for SF cvs import not to screw up CPAN

    Revision 1.2  2005/11/16 01:27:48  areibens
    genesis2

    Revision 1.1  2005/11/16 01:19:25  areibens
    genesis

    Revision 1.15  2005/10/20 21:04:57  fredo
    added handling of optional kerning

    Revision 1.14  2005/10/01 22:30:16  fredo
    fixed font-naming race condition for multiple document updates

    Revision 1.13  2005/09/12 16:53:23  fredo
    added -isocmap option

    Revision 1.12  2005/06/17 19:44:03  fredo
    fixed CPAN modulefile versioning (again)

    Revision 1.11  2005/06/17 18:53:34  fredo
    fixed CPAN modulefile versioning (dislikes cvs)

    Revision 1.10  2005/03/21 17:31:57  fredo
    cleanup

    Revision 1.9  2005/03/14 22:01:07  fredo
    upd 2005

    Revision 1.8  2005/01/21 10:01:59  fredo
    added -nosubset option

    Revision 1.7  2004/12/16 00:30:53  fredo
    added no warn for recursion

    Revision 1.6  2004/11/22 21:07:55  fredo
    fixed multibyte-encoding support to work consistently acress cjk/ttf/otf

    Revision 1.5  2004/06/15 09:14:42  fredo
    removed cr+lf

    Revision 1.4  2004/06/07 19:44:37  fredo
    cleaned out cr+lf for lf

    Revision 1.3  2003/12/08 13:05:33  Administrator
    corrected to proper licencing statement

    Revision 1.2  2003/11/30 17:30:41  Administrator
    merged into default

    Revision 1.1.1.1.2.2  2003/11/30 16:56:36  Administrator
    merged into default

    Revision 1.1.1.1.2.1  2003/11/30 14:13:33  Administrator
    added CVS id/log

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 58:

'=item' outside of any '=over'

Around line 241:

You forgot a '=back' before '=head1'