| 1 |
README for fontinst |
| 2 |
|
| 3 |
* What is it? |
| 4 |
|
| 5 |
Fontinst is a program that helps with installing fonts |
| 6 |
for (La)TeX. Since it is written entirely in TeX macros, |
| 7 |
it is completely portable. |
| 8 |
|
| 9 |
More precisely, fontinst helps mainly with the number |
| 10 |
crunching and shoveling parts of font installation. This |
| 11 |
means in practice that it creates a number of files which |
| 12 |
give the TeX metrics (and related information) for a font |
| 13 |
family that (La)TeX needs to do any typesetting in these |
| 14 |
fonts. Fontinst furthermore makes it easy to create fonts |
| 15 |
containing glyphs from more than one base font, taking |
| 16 |
advantage of e.g. "expert" font sets. |
| 17 |
|
| 18 |
Fontinst cannot examine files to see if they contain any |
| 19 |
useful information or work with binary file formats; those |
| 20 |
tasks must normally be done manually or with the help of |
| 21 |
some other tool, such as the pltotf and vptovf programs. |
| 22 |
Nor can fontinst automatically search for files, but if |
| 23 |
they are named according to the fontname scheme (Berry) |
| 24 |
then fontinst sometimes succeeds very well in guessing |
| 25 |
what the interesting files are called. |
| 26 |
|
| 27 |
|
| 28 |
* Documentation |
| 29 |
|
| 30 |
The doc directory contains pure documentation; in |
| 31 |
particular the doc/manual directory should be of |
| 32 |
interest, as it contains the fontinst manual. For questions |
| 33 |
about the meaning of fontinst commands, see this manual. |
| 34 |
|
| 35 |
The manual is however not a tutorial on how to use fontinst. |
| 36 |
Some alternative sources of information that you may find |
| 37 |
useful are: |
| 38 |
|
| 39 |
* Philipp Lehman's "The Font Installation Guide" |
| 40 |
Available on CTAN, at info/Type1fonts/fontinstallationguide/ |
| 41 |
|
| 42 |
* intro98.tex - parts of the 1998 fontinst v1.8 manual |
| 43 |
that were split off during the v1.9 revision. These are |
| 44 |
much more tutorial in style, although not entirely modern. |
| 45 |
|
| 46 |
* The fontinst mailing list and its archives |
| 47 |
(See below for relevant addresses.) |
| 48 |
|
| 49 |
* The fontinst Literate Programming sources (see |
| 50 |
source/fisource.dvi). If a command isn't documented |
| 51 |
anywhere else, there is probably a discussion of it |
| 52 |
in the sources. They're thoroughly indexed. |
| 53 |
|
| 54 |
The examples directory contains some examples (with |
| 55 |
comments) of using fontinst to install a font family. |
| 56 |
|
| 57 |
|
| 58 |
* Installation |
| 59 |
|
| 60 |
To use fontinst, you only need to make sure the inputs |
| 61 |
directory and its subdirectories are on TeX's input path. |
| 62 |
Usually you do this by moving it to a suitable location. |
| 63 |
In a TDS texmf tree, the inputs directory is usually |
| 64 |
made the ${TEXMF}/tex/fontinst directory. |
| 65 |
|
| 66 |
You will probably also want to move the file fontdoc.sty |
| 67 |
in the latex directory to some location where TeX will |
| 68 |
find it. Many of the .mtx and .etx files in the inputs |
| 69 |
hierarchy are simultaneously fontinst input files and |
| 70 |
LaTeX documents; the fontdoc package is needed to typeset |
| 71 |
them as the latter. In a TDS texmf tree, the normal place |
| 72 |
for fontdoc.sty is in the tex/latex/misc directory. |
| 73 |
|
| 74 |
Also recall that some TeX implementations maintain a |
| 75 |
database over files that have been installed. If you've |
| 76 |
placed fontinst in a suitable place but TeX complains it |
| 77 |
cannot find the file fontinst.sty then the problem may |
| 78 |
be that you need to update this database of files. That |
| 79 |
is however nothing that is particular for fontinst. |
| 80 |
|
| 81 |
|
| 82 |
* Latin and other scripts |
| 83 |
|
| 84 |
The fontinst distribution includes the necessary encoding |
| 85 |
definition (.etx) files for the latin script as used in |
| 86 |
European languages, but there is nothing in fontinst as |
| 87 |
a program that restricts it to these languages. In the T2 |
| 88 |
bundle (CTAN:macros/latex/contrib/t2) there are |
| 89 |
corresponding fontinst files for the cyrillic scripts |
| 90 |
(and in the future it might become part of the main |
| 91 |
fontinst distribution). |
| 92 |
|
| 93 |
|
| 94 |
* The test directory |
| 95 |
|
| 96 |
This is mainly of interest for advanced fontinst users. |
| 97 |
It collects some files that were written to test the new |
| 98 |
features in various versions of fontinst. |
| 99 |
|
| 100 |
|
| 101 |
* Mailing list |
| 102 |
|
| 103 |
Questions and bug reports should be sent to the fontinst |
| 104 |
mailing list |
| 105 |
|
| 106 |
[email protected] |
| 107 |
|
| 108 |
General information about the mailing list is at: |
| 109 |
|
| 110 |
http://tug.org/mailman/listinfo/fontinst |
| 111 |
|
| 112 |
|
| 113 |
22 August 2009, |
| 114 |
Lars Hellstr\"om |