1
%----------------------------------------------------------------------------
2
% ----- File: type1afm.tex
3
% ----- Author: Rainer Menzner (Rainer.Menzner@web.de)
4
% ----- Date: 2001-04-01
5
% ----- Description: This file is part of the t1lib-documentation.
6
% ----- Copyright: t1lib is copyrighted (c) Rainer Menzner, 1996-2001.
7
% As of version 0.5, t1lib is distributed under the
8
% GNU General Public Library Lincense. The
9
% conditions can be found in the files LICENSE and
10
% LGPL, which should reside in the toplevel
11
% directory of the distribution. Please note that
12
% there are parts of t1lib that are subject to
14
% The parseAFM-package is copyrighted by Adobe Systems
16
% The type1 rasterizer is copyrighted by IBM and the
18
% ----- Warranties: Of course, there's NO WARRANTY OF ANY KIND :-)
19
% ----- Credits: I want to thank IBM and the X11-consortium for making
20
% their rasterizer freely available.
21
% Also thanks to Piet Tutelaers for his ps2pk, from
22
% which I took the rasterizer sources in a format
24
% Thanks to all people who make free software living!
25
%----------------------------------------------------------------------------
28
\section{The Program {\ttfamily type1afm}}
30
\verb+type1afm+ is a simple commandline tool (about 150 lines C source
31
code) that allows to generate an AFM file from a Type 1 font
32
program. It is intended for people who want to use Type 1 font files
33
that come without AFM files with \tonelib\ (or other software that
34
requires AFM files). The syntax is \\[0.5cm]
35
\verb+type1afm [-l] <fontfile1> [<fontfile2> <fontfile3> ...] +\\[0.5cm]
36
For each fontfile specified on the commandline, an AFM file with the
37
corresponding name is generated in the current directory.
38
Most of the work is done in \tonelib-internal functions. See section
39
\ref{missingafmfiles} on how AFM information is generated and written
42
It is usually not desireable to leave a logfile wherever the utility
43
has been executed. Thus by default no logfile is generated. This
44
behaviour can be changed by specifying the optional parameter
45
\verb+-l+. This causes a logfile with \verb+T1LOG_DEBUG+ as loglevel
46
to be written to the disk. Its name will be \verb+t1lib.log+ (see
52
%%% TeX-master: "t1lib_doc"