MOZILLA FONT SET
=================

This is a complete set of three font faces (Times, Helvetica, Courier) 
in seven sizes and four variants each, optimized for use by the Netscape
(Mozilla) WWW browser under Unix.

The source file contains 85 .bdf (Bitmap Distribution Format) files, one
for each individual font. These files can be read for use directly by the
X font server; however, you will probably want to compile them into .pcf
(Portable Compiled Format) files on your target machine to use less disk
space and allow their faster loading by X.


======== COMPILATION ========

To produce the .pcf files, execute:

	make

If you don't mind letting the Makefile handle the installation, you can
also do:

	make install

which should properly place the fonts in /usr/local/lib/fonts/Mozilla. If
this is not where they should go, a quick Makefile edit can let you
specify an arbitrary location (through the DESTDIR variable). I recommend
that you place this font set in its own directory, as there will be many
files (eighty-seven in all) and the fonts.dir/fonts.alias tables are quite
large.

Once the files are in place, they need to be added to the font database. 
This can be accomplished with one of the following commands:

	xset fp+ /usr/local/lib/fonts/Mozilla:unscaled
	xset fp+ /usr/local/lib/fonts/Mozilla

(The first one is preferable, but is not supported by all X systems. Do
substitute the appropriate directory location in place of the one above).

Once this is done, the fonts will be accessible to all X applications,
including Netscape.

==== Side Note ====

Note that the above will only make the fonts available for the duration of
your current X session. If they are to be installed and usable
permanently, either the aforementioned command should be placed in one of
your X startup files (usually something like ~/.Xclients or ~/.Xsession),
or the directory location should be added to the system's font server
configuration.

(Users of Red Hat Linux and derivatives: Your system uses a font server. 
Its configuration file may be found at /etc/X11/fs/config. As root, load
up the file in a text editor, add the directory location (with the
trailing ":unscaled" added) to the "catalogue" section, and then issue the
command:

	/etc/rc.d/init.d/xfs restart

to inform the server of the change)


======== CONFIGURING NETSCAPE TO USE THE NEW FONTS ========

For Netscape 4:

1. Go to the Edit menu. Select the Preferences item.
2. In the "Netscape: Preferences" window, from the left pane, select Fonts.
3. Make sure the "For the Encoding" option reads "Western (iso-8859-1)."
4. In the right pane, look for the "Variable Width Font" option. Hit the
   down arrow at the right.
5. Look for "Times (Mozilla)." It will probably be toward the bottom.
   Choose it.
6. Now go to the "Fixed Width Font" option. Do the same as above, but now,
   choose "Courier (Mozilla)" instead.
7. Now you'll need to set the proper size. Click on the Size options at
   the very right; choose 15.0 for both of them.
8. Make sure the "Allow Scaling" check buttons are not pressed in.
9. Hit OK at the lower left. You're all set!


For Netscape 3:

1. Go to the Options menu. Go to General Preferences.
2. In the "Netscape: General Preferences" window, click the Fonts tab.
3. Do steps 3 to 9 from the Netscape 4 setup above. The menus are
   sufficiently similar.
4. Go to the Options menu again, and select "Save Options" at the bottom.
   You're good to go!


======== TECHNICAL INFO ========

All fonts are of "Mozilla" foundry, 100dpi, charset/registry ISO-8859-1.

The font point sizes do not represent the actual sizes of the glyphs. 
Netscape under Unix only supports linear font scaling, with a default
increment of twenty percent. Font size 3 is a certain base size; size 4 is
20% larger w.r.t size 3, size 5 is 40% larger w.r.t. size 3, size 2 is 20%
smaller w.r.t. size 3, and so forth. The proper behavior, however, is
nonlinear (where each font is a fixed percentage larger than the one
preceding it). My solution (read: hack) was to create a nonlinearly scaled
set of fonts, and then manually change the point sizes of each to reflect
the linear formula p(s) = 6 + 3*s.

The real point sizes are given by the following tables:

HTML	= size as specified in a <FONT SIZE=s> tag
Pseudo	= size as reported by X
Real	= physical size of font

Times, Helvetica
--------+-------+-------+-------+-------+-------+-------+-------
HTML    | 1     | 2     | 3     | 4     | 5     | 6     | 7
--------+-----  +-----  +-----  +-----  +-----  +-----  +-----
Pseudo  | 9pt   | 12    | 15    | 18    | 21    | 24    | 27
--------+-----  +-----  +-----  +-----  +-----  +-----  +-----
Real    | 13pt  | 15    | 19    | 23    | 29    | 38    | 57

Courier
--------+-------+-------+-------+-------+-------+-------+-------
HTML    | 1     | 2     | 3     | 4     | 5     | 6     | 7
--------+-----  +-----  +-----  +-----  +-----  +-----  +-----
Pseudo  | 9pt   | 12    | 15    | 18    | 21    | 24    | 27
--------+-----  +-----  +-----  +-----  +-----  +-----  +-----
Real    | 10pt  | 12    | 15    | 17    | 21    | 29    | 43

These numbers were carefully chosen to produce the closest possible match
with Netscape-rendered text under Microsoft Windows.

The Helvetica fonts are not user-specified to Netscape at any point, but
are implicitly called whenever a <FONT FACE="Helvetica"> HTML tag is
encountered. For the case of <FONT FACE="Arial"> tags, a font.alias file
has been included which will map all Arial typefaces back onto Helvetica.

This font set was produced using the xmbdfed utility. It is available at
ftp://crl.nmsu.edu/CLR/multiling/General/xmbdfed.tar.gz.


======== REDISTRIBUTION TERMS ========

I place no restrictions on the redistribution, modification, mutilation,
etc. of these fonts. Credit would be nice, but only if credit needs to be
given. Times, Courier, and Helvetica are trademarks of Adobe Corp.


=========================================================================

Daniel Richard G. <skunk@mit.edu> //
