AI Font Distribution
Copyright 1999 Bernard Collins <bernard.collins@jhuapl.edu>

Last modified 17 October 2001.

This program can redistributed and/or modified under the terms of the
LaTeX Project Public License, either version 1.2 of this License or
(at your option) any later version.

The latest version of this license is in
   http://www.latex-project.org/lppl.txt
and version 1.2 or later is part of all distributions of LaTeX version
1999/12/01 or later.

INTRODUCTION

The purpose of the AI font distribution is to improve the final
conversion to Postscript and PDF formats of TeX documents which use
the standard Computer Modern and AMS fonts. It should allow most
modern TeX postprocessors, including dvips, dvipdfm, and pdftex (not
exactly a postprocessor), to generate PS and PDF which avoids bugs in
some document readers on some platforms and which can be imported
easily into third-party software, such as Adobe Illustrator.

INSTALLATION AND USE

The following instructions are intended for teTeX based systems. You
should not have too much trouble adapting them to other distributions.
All files should unpack into appropriate sub-directories according to
the TeX directory standard used by teTeX, et al. The top-level
directory is named texmf. You may safely unpack into your main texmf
tree, or into your $HOME/texmf. Copy the bash scripts from
texmf/ai/bin to a directory in your path. Run texhash, and you are
ready to go! The three scripts aidvips, aipdftex, and aipdflatex are
set up to allow easy access to the fonts. Aidvips remaps fonts using
one of the following command-line options:

-Pai    Remap low characters, but do not embed any fonts
-Paiz   (default) Remap low characters, embedding re-encoded
        BSR/Y&Y/AMS fonts

SOME DETAILS

There is one .vf file for each of the BSR/Y&Y/AMS Computer Modern and
AMS publicly released Type 1 fonts. The corresponding .tfm files are
not included, as the standard CM/AMS .tfm files should be used. This
ensures that TeX processing will be unaffected by these fonts, since
TeX never uses .vf files. Each virtual font maps all characters in a
standard .tfm file to another special .tfm file, included in the
distribuiton. Each standard metric file has a corresponding remapped
file which is named by prepending "ai" to the standard name. For
example, each character in cmr10.tfm is mapped, through cmr10.vf, to a
character in aicmr10.tfm. The content of aicmr10.tfm is identical to
cmr10.tfm, except that characters in the "control-character" range,
0-32 and 127, have been remapped to higher postions in the range
161-196. Ligature and kerning information is updated to reflect the
change. The BSR/Y&Y/AMS Type 1 fonts doubly encode these characters in
the higher positions for just this purpose. This avoids problems with
some software when interpretting the final PS or PDF file.

Adobe Illustrator can directly interpret postscript output from dvips
using Type 1 Computer Modern fonts that have been remapped with the ai
virtual fonts. This is safer than using the "-G" command line or "G"
configuration file option in dvips because it allows any of the 128
standard BSR/Y&Y/AMS fonts to be intermixed with ordinary text Type 1
fonts such as Times and Helvetica. If you save imported dvips
postsript in Illustrator .ai or .eps format, AI might have a problem
reopening the file, giving an error about invalid font remapping. But
if you save the file in .pdf format, AI can re-open it without a
problem. At least this is true for Illustrator 7, which is the latest
version I have.

The package includes a couple of perl scripts in texmf/doc/fonts/ai/
that were used to generate the virtual fonts. It should be possible to
use these scripts to process other similar doubly-encoded fonts which
may include the BaKoMa fonts or Taco Hoekwater's fonts.

CHANGES

Version 1.2 adds bsr.map and modifies the shell scripts in order to
make the ai virtual fonts work easily with the latest TeX Live
distribution (July 2001).
