[prev] [prev-tail] [tail] [up]

4.14 The Install PostScript font family menu 

Installing PostScript fonts and defining font families in LaTeX style is rather complex. It requires deep knowledge of font encodings, conversions of PostScript font metrics (.afm files) to TeX font metrics (.tfm files), and knowledge of LaTeX's font selection scheme.

This menu appears after choosing InstPsFam in the run Utilities selection menu of the main menu. This utility makes it easy to install a complete PostScript font family for use with (La)TeX. Also the necessary fonttable files are updated and an appropriate style file (for use with LaTeX 2e) is created. To install a font family one is advised to use the sequence of the keys of the menu as displayed in figure 4.23.

Note: This menu is still in betatest. It is likely to contain errors and may change in new releases.  


PICT
Figure 4.23InstPsFam menu

[N], [B] , [I], [D] choose foNt to install (N B I D)
The 4TeX system will use the Karl Berry font naming convention to choose a font family. I.e. by pressing the [N] one can select one of the PostScript fonts in the directory specified by the environment variable MYPSFONTS. This variable is set in the file c:\texfiles\4system\texuser.<os>. 4TeX will then assume that the Karl Berry naming is in use and that it is the Normal (or roman) font. It also will (if those fonts exist) choose the appropriate fonts for the Bold, Italic, and BoldItalic font. E.g. choosing the font bbr.afm will indicate that we want to install the Bembo font family for use within (La)TeX. Using the Berry naming scheme we will have the Bold font bbb.afm, the Italic font bbro.afm, and the BoldItalic font bbbo.afm. By using the other keys one can choose a font that is different from the Karl Berry convention. We, however, strongly discourage this because several things in the FontInst program will not work correctly, resulting in an incomplete fontfamily for use with (La)TeX.

[S] choose Stylefile name
the InstPsFam utility will check the font family name (in our example 4TeX will see that it is the Bembo family). For proper use within LaTeX 2e we need a style file that will define the Bembo family as the default font family. By pressing the [S] one can change the name of the appropriate style file that will be created.  


PICT
Figure 4.24choose Transformation and encodings menu

[T] choose Transformations and encodings
After pressing this key the menu as show in figure 4.24 will pop up and you can select the transformation/encoding that is needed. After choosing the appropriate transformation 4TeX will ask whether you want to generate an extended, narrowed, slanted, and a small caps font of the family as well.

[V] quick-n-dirty preView
With this key you can generate a rough version of the files necessary for use with (La)TeX. The result will be a quick-and-dirty preview of the font. Note that this is not the final version of the font but it will give you a first impression of the font.

[U] install font Using afm2tfm
As with the InstPsFont utility the necessary files for use with (La)TeX are generated. Note that the quality of the fonts can be improved by running FontInst.

[A] Append map file to PSFONTS.MAP
With this key the fonttable file psfont.map will be updated. If you forget to update this file you can not use the font family within (La)TeX simply because the created files necessary for the fonts will be deleted after quitting the InstPsFam utility.

[Y] test stYlefile with font table
The font family will be used together with the generated style file for LaTeX 2e to view a two page sample document.

[E] Edit font mapping files
You can edit the font-setting files. E.g. with the Bembo family you can edit bb.map, bb.fti, psfonts.map, psfonts.inf, and fontmap.

[O] install font using fOntinst
The program FontInst is the best way to install PostScript fonts for use with TeX. By pressing this key the FontInst is called and the font family is automatically installed. This procedure may take much time to complete.

[P] Print font table
The font family will be used together with the generated style file for LaTeX 2e to print a two page sample document.

[L] show Log file font table compilation
In case there are some errors during compiling the test pages you can edit the log file to look for errors.

[M] Move all files to final destination
With this key you will install the font family from their temporary location to their final location. 4TeX will show how the newly generated font family can be used, e.g. after installing the Bembo family we get the following messages on screen:

  The PostScript font bembo (bb) is now ready for use
  in TeX. This can be done by declaring the font, e.g.
  (TeX:)   \font\ownfontname=bbr
  (LaTeX:) \newfont{\ownfontname}{bbr scaled \magstep2}
  The font is activated e.g. by the command
           {\ownfontname This is a test}.
 
  This font family can be used as follows:
           \fontfamily{bb}\selectfont
 
  This family is used as default for roman/sansserif like this:
  (LaTeX 2.09:)   \documentstyle[bembo]{article}
  (LaTeX 2e:)     \usepackage{bembo}
Note: If you don't use this key before returning to the main menu the font will not be installed.

[R] Return to main menu
Returns you to the 4TeX's main menu. Equivalent keys are [Q] and [Esc]. After pressing this key all temporary files will be deleted.

[prev] [prev-tail] [front] [up]