ttf2tex

Langue: en

Version: January 21, 2007 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

ttf2tex - a TrueType font installer for Unix

SYNOPSIS

ttf2tex --help
ttf2tex --dump-vectors
ttf2tex [options] --foundry foundry --font font family
ttf2tex [options] --user --foundry foundry --font font family
ttf2tex [options] --install --foundry foundry --font font family

DESCRIPTION

This manual page documents briefly the ttf2tex command.

This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the PDF format; see below.

ttf2tex is a script for the Bash shell which generates all files required to use TrueType fonts with teTeX from a set of font files. In short, it will do for fonts what fontinst's latinfamily command does for Type 1 PostScript fonts. In addition to that, ttf2tex sorts all files, builds the map files required by ttf2pk and pdftex, and optionally installs everything into either the system-wide local TeX tree or the private TeX tree of the user running ttf2tex. Note that ttf2tex's approach to using TrueType fonts with TeX does not imply converting them to Type 1 format. With a current version of teTeX and a proper setup, TeX can use TrueType fonts via the ttf2pk utility while pdftex even supports them natively.

TeX itself is actually completely indifferent to the font format since it will merely use the font metrics without accessing the glyph outlines. ttf2pk comes into play when processing the DVI file with utilities that do not support TrueType fonts natively, such as dvips or DVI readers like xdvi. ttf2pk will then render the glyphs and provide the result in PK font format. pdftex, on the other hand, has to access the fonts directly when embedding them in a PDF file. Fortunately it offers native TrueType font support and ttf2tex will supply it with a map file.

OPTIONS

-h, --help

print usage summary and exit

--dump-vectors

dump encoding vectors and exit

-b, --batch

run in batch mode

-l, --log

write session log to ttf2tex.log

-n, --ps-names

pass the -n switch to ttf2tfm

-N, --ps-names-only

pass the -N switch to ttf2tfm

-t, --typewriter

font is a typewriter font, disable hyphenation

-x, --expert

expert mode, use small caps and old style figures

-u, --user

install files into user TeX tree

-i, --install

install files into local TeX tree

--overwrite

overwrite files when installing, use with care!

-c real, --caps real

use real as height of small caps (default: 0.800)

-s real, --slant real

use real obliqueness factor (default: 0.167)

-f foundry, --foundry foundry

use foundry as foundry name

-o font, --font font

use font as font name

family

the font family code

SEE ALSO

Full documentation of ttf2tex can be found in /usr/share/doc/ttf2tex/ttf2tex.pdf

AUTHOR

This manual page was written by Rafael Laboissiere <rafael@debian.org> for the Debian system (but may be used by others). It is based on the ttf2tex.tex document distributed in the source tarball, as well as the output of ttf2tex -h.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

AUTHOR

Rafael Laboissiere

Author.
Copyright © 2007 Rafael Laboissiere