ttf2texfonts Manual

This is version 0.1 of the ttf2texfonts Manual


Table of Contents

Description
Usage
Initialisation
How to create and install fonts
A. About this document

Abstract

ttf2texfonts produces and installs Postscript fonts from Truetype fonts and the other necessary files needed to use the fonts in LaTeX.

ttf2texfonts is a Unix shell script which starting from a Truetype font stored in one or more files produces a Postscript font and the necessary files needed for LaTeX, and installs these files in the TeX directory structure. The script allows to install a Truetype font as a Postscript font for LaTeX by issuing just one command without the need for any further configuration.

You will only be able to use this script successfully if your TeX system uses updmap. If your system does not have updmap, then the files will be installed anyway, but you will have to make sure yourself that TeX and dvips find them.

In order to be able to run this script, you must first install ttf2pt1.

To create the Postscript fonts and the necessary files needed by TeX, you need to run ttf2texfonts with one or more of the options --regular=fontfile1.ttf, --bold=fontfile2.ttf, --italic=fontfile3.ttf, --bolditalic=fontfile4.ttf. The files fontfile1.ttf, fontfile2.ttf, fontfile3.ttf and fontfile4.ttf are Truetype font-files which contain the normal, bold, italic and bold italic typefaces of the font, and will be used to produce one Postscript font for TeX. Additionally, you have to specify the TeX-name of the output font.

Installing a font can be done by running ttf2texfonts with the option --install. The TeX-name of the output font should also be specified. The files will be installed in $localtexmf, respecting the TDS (TeX Directory Structure).

The above process will produce a lot of files needed by TeX in the current working directory. After installing these files, they can be removed from the working directory by running ttf2texfonts with the option --clean.

The option --uninstall can be used to remove the font from the TeX system.

A. About this document

This file is created using a DocBook document and uses a CSS stylesheet.