CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ fonts/ utilities/ fontools

You can get this entire directory bundled as fontools.zip.

Packages located here

Package Caption
fontools Tools to simplify using fonts (especially TT/OTF ones).

Subdirectories of this one

NameDateDescription
bin/ 2007-08-08
doc/ 2007-08-08
examples/ 2007-08-08
share/ 2007-08-08

Files in this directory

NameDateSize Description
GPLv2.txt 2005-08-25 17 Kbyte download
README 2007-02-08 2 Kbyte download Shown below

Contents of the README file

FONTOOLS: some tools for handling fonts with LaTeX and fontinst
===============================================================

This package provides a few tools to ease using fonts (especially
TrueType/OpenType ones) with LaTeX and fontinst:

AFM2AFM - reencode .afm files; designed to replace fontinst's
\reencodefont for big .afm files.

AUTOINST - a wrapper script around otftotfm for installing
OpenType fonts in LaTeX. It also creates .fd and .sty files.

CMAP2ENC - convert glyph indices in TrueType fonts without glyph names
(such as Linotype Palatino) to Adobe glyph names.

FONT2AFM - create font metrics for just about any font file; wrapper
around tools such as pf2afm, ttf2afm, pfm2kpx and ot2kpx.

OT2KPX - extract all kerning pairs from OpenType fonts.

PFM2KPX - extract the correct kerning pairs from buggy .pfm files
(where pf2afm complains `.notdef character occurred among kern pairs').

SHOWGLYPHS - create a pdf file that shows all glyphs in a font.


Please see the documentation of the individual programs for more info.


Prerequisites
-------------

All programs have been written in Perl; they require Perl version 5.6 or later. 
Some programs also need pf2afm (distributed with GhostScript), ttf2afm
(distributed with pdfTeX) or Eddie Kohler's TypeTools (see
http://www.lcdf.org/type/)

Most tools can also use kpsewhich or findtexmf (if available) for searching 
their input files. If neither tool is present, input files are searched 
in the current working directory.

The SHOWGLYPHS script uses several standard Unix/Linux commands; 
it probably won't work on other platforms. It also needs a working,
TDS-compliant TeX installation.

The encoding files in the `share/' directory are meant to be used with 
Eddie Kohler's otftotfm (either directly or via the AUTOINST wrapper script);
place these files somewhere where otftotfm can find them.


License
-------

This software is copyright (c) 2005-2007 Marc Penninga. It is released under 
the terms of the GNU General Public Licence. See the file GPLv2.txt for 
the license conditions.


Examples
--------

A few detailed examples of the use of some of these tools (mainly CMAP2ENC)
can be found in the directory `examples/': this contains everything you need
(except the fonts themselves, of course) to use the TrueType versions of
Linotype Palatino, Monotype Berling and Linotype Frutiger that come with
some Microsoft products.


                                            Marc Penninga, 2007/02/08

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.