Read-only release history for Font-TTF
Perl Prolog
Switch branches/tags
stable gitpan_version/1.04_90 gitpan_version/1.04 gitpan_version/1.03 gitpan_version/1.02 gitpan_version/1.01 gitpan_version/1.00 gitpan_version/0.48 gitpan_version/0.47 gitpan_version/0.45 gitpan_version/0.44 gitpan_version/0.43 gitpan_version/0.42 gitpan_version/0.41 gitpan_version/0.40 gitpan_version/0.39 gitpan_version/0.39a gitpan_version/0.38.1 gitpan_version/0.38 gitpan_version/0.37 gitpan_version/0.35 gitpan_version/0.34 gitpan_version/0.32 gitpan_version/0.31 gitpan_version/0.30 gitpan_version/0.28 gitpan_version/0.26 gitpan_version/0.24 gitpan_version/0.23 gitpan_version/0.22 gitpan_version/0.21 gitpan_version/0.20 gitpan_version/0.18 gitpan_version/0.16 gitpan_version/0.14 gitpan_version/0.13 gitpan_version/0.12 gitpan_version/0.08 gitpan_version/0.04 gitpan_version/0.03 gitpan_version/0.1 cpan_version/1.04_90 cpan_version/1.04 cpan_version/1.03 cpan_version/1.02 cpan_version/1.01 cpan_version/1.00 cpan_version/0.48 cpan_version/0.47 cpan_version/0.45 cpan_version/0.44 cpan_version/0.43 cpan_version/0.42 cpan_version/0.41 cpan_version/0.40 cpan_version/0.39 cpan_version/0.39a cpan_version/0.38.1 cpan_version/0.38 cpan_version/0.37 cpan_version/0.35 cpan_version/0.34 cpan_version/0.32 cpan_version/0.31 cpan_version/0.30 cpan_version/0.28 cpan_version/0.26 cpan_version/0.24 cpan_version/0.23 cpan_version/0.22 cpan_version/0.21 cpan_version/0.20 cpan_version/0.18 cpan_version/0.16 cpan_version/0.14 cpan_version/0.13 cpan_version/0.12 cpan_version/0.08 cpan_version/0.04 cpan_version/0.03 cpan_version/0.1 cpan_path/MHOSKEN/Font-TTF-1.04_90.tar.gz cpan_path/MHOSKEN/Font-TTF-1.04.tar.gz cpan_path/MHOSKEN/Font-TTF-1.03.tar.gz cpan_path/MHOSKEN/Font-TTF-1.02.tar.gz cpan_path/MHOSKEN/Font-TTF-1.01.tar.gz cpan_path/MHOSKEN/Font-TTF-1.00.tar.gz cpan_path/MHOSKEN/Font-TTF-0.48.tar.gz cpan_path/MHOSKEN/Font-TTF-0.47.tar.gz cpan_path/MHOSKEN/Font-TTF-0.45.tar.gz cpan_path/MHOSKEN/Font-TTF-0.44.tar.gz cpan_path/MHOSKEN/Font-TTF-0.43.tar.gz cpan_path/MHOSKEN/Font-TTF-0.42.tar.gz cpan_path/MHOSKEN/Font-TTF-0.41.tar.gz cpan_path/MHOSKEN/Font-TTF-0.40.tar.gz cpan_path/MHOSKEN/Font-TTF-0.39.tar.gz cpan_path/MHOSKEN/Font-TTF-0.39a.tar.gz cpan_path/MHOSKEN/Font-TTF-0.38.1.tar.gz cpan_path/MHOSKEN/Font-TTF-0.38.tar.gz cpan_path/MHOSKEN/Font-TTF-0.37.tar.gz
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Perl module for TrueType/OpenType font hacking. Supports reading, processing and
writing of the following tables: GDEF, GPOS, GSUB, LTSH, OS/2, PCLT,
bsln, cmap, cvt, fdsc, feat, fpgm, glyf, hdmx, head, hhea, hmtx, kern,
loca, maxp, mort, name, post, prep, prop, vhea, vmtx and the reading and
writing of all other table types.

In short, you can do almost anything with a standard TrueType font with
this module. Be Brave!

Any suggestions, improvements, additions, subclasses, etc. would be gratefully
received and probably included in a future release. Please send them to me.

This module has been tested on Win32, Unix and Mac.

Applications that were associated with this module have been moved to
Font::TTF::Scripts where great things can be done.


Here is the regression test (you provide your own font). Run it once and then
again on the output of the first run. There should be no differences between
the outputs of the two runs.

    use Font::TTF::Font;

    $f = Font::TTF::Font->open($ARGV[0]);

    # force a read of all the tables
    $f->tables_do(sub { $_[0]->read; });

    # force read of all glyphs (use read_dat to use lots of memory!)
    # $f->{'loca'}->glyphs_do(sub { $_[0]->read; });
    $f->{'loca'}->glyphs_do(sub { $_[0]->read_dat; });
    # NB. no need to $g->update since $_[0]->{'glyf'}->out will do it for us

    $f->DESTROY;               # forces close of $in and maybe memory reclaim!


If you have received this package as part of an Activestate PPM style .zip file
then type

    ppm install Font-TTF.ppd


To configure this module, cd to the directory that contains this README file
and type the following.

    perl Makefile.PL

Alternatively, if you plan to install Font::TTF somewhere other than
your system's perl library directory. You can type something like this:

    perl Makefile.PL PREFIX=/home/me/perl INSTALLDIRS=perl

Then to build you run make.


If you have write access to the perl library directories, you may then
install by typing:

    make install

To tidy up, type:

    make realclean

Win32 users should use pmake instead of make. Alternatively installation can be
done on Win32 by typing:


Or using the install feature in tools like WinZip.

=head1 CHANGES

See Changes for an overview of recent changes. 

=head2 Future Changes

I do not anticipate any more restructuring changes (but reserve the right to do so).

=head1 AUTHOR

Martin Hosken L<>.
(see CONTRIBUTORS for other authors).


Copyright (c) 1998-2014, SIL International ( 

This module is released under the terms of the Artistic License 2.0. 
For details, see the full text of the license in the file LICENSE.

The fonts in the test suite are released under the SIL Open Font License 1.1, see t/OFL.txt.