README
1MOZILLA FONT SET
2=================
3
4This is a complete set of three font faces (Times, Helvetica, Courier)
5in seven sizes and four variants each, optimized for use by the Netscape
6(Mozilla) WWW browser under Unix.
7
8The source file contains 85 .bdf (Bitmap Distribution Format) files, one
9for each individual font. These files can be read for use directly by the
10X font server; however, you will probably want to compile them into .pcf
11(Portable Compiled Format) files on your target machine to use less disk
12space and allow their faster loading by X.
13
14
15
16======== COMPILATION ========
17
18To produce the .pcf files, execute:
19
20 make pcf
21
22If you don't mind letting the Makefile handle the installation, you can
23also do:
24
25 make install
26
27which should properly place the fonts in /usr/local/lib/fonts/Mozilla. If
28this is not where they should go, a quick Makefile edit can let you
29specify an arbitrary location (through the DESTDIR variable). I recommend
30that you place this font set in its own directory, as there will be many
31files (eighty-seven in all) and the fonts.dir/fonts.alias tables are quite
32large.
33
34Once the files are in place, they need to be added to the font database:
35
36 xset fp+ /usr/local/lib/fonts/Mozilla/
37
38(substituting the appropriate directory location for the one above). Once
39this is done, the fonts will be accessible to all X applications,
40including Netscape.
41
42
43
44======== CONFIGURING NETSCAPE TO USE THE NEW FONTS ========
45
46For Netscape 4:
47
481. Go to the Edit menu. Select the Preferences item.
492. In the "Netscape: Preferences" window, from the left pane, select Fonts.
503. Make sure the "For the Encoding" option reads "Western (iso-8859-1)."
514. In the right pane, look for the "Variable Width Font" option. Hit the
52 down arrow at the right.
535. Look for "Times (Mozilla)." It will probably be toward the bottom.
54 Choose it.
556. Now go to the "Fixed Width Font" option. Do the same as above, but now,
56 choose "Courier (Mozilla)" instead.
577. Now you'll need to set the proper size. Click on the Size options at
58 the very right; choose 15.0 for both of them.
598. Make sure the "Allow Scaling" check buttons are not pressed in.
609. Hit OK at the lower left. You're all set!
61
62
63For Netscape 3:
64
651. Go to the Options menu. Go to General Preferences.
662. In the "Netscape: General Preferences" window, click the Fonts tab.
673. Do steps 3 to 9 from the Netscape 4 setup above. The menus are
68 sufficiently similar.
694. Go to the Options menu again, and select "Save Options" at the bottom.
70 You're good to go!
71
72
73
74======== TECHNICAL INFO ========
75
76All fonts are of "Mozilla" foundry, 100dpi, charset/registry ISO-8859-1.
77
78The font point sizes do not represent the actual sizes of the glyphs.
79Netscape under Unix only supports linear font scaling, with a default
80increment of twenty percent. Font size 3 is a certain base size; size 4 is
8120% larger w.r.t size 3, size 5 is 40% larger w.r.t. size 3, size 2 is 20%
82smaller w.r.t. size 3, and so forth. The proper behavior, however, is
83nonlinear (where each font is a fixed percentage larger than the one
84preceding it). My solution (read: hack) was to create a nonlinearly scaled
85set of fonts, and then manually change the point sizes of each to reflect
86the linear formula p(s) = 6 + 3*s.
87
88The real point sizes are given by the following tables:
89
90HTML = size as specified in a <FONT SIZE=s> tag
91Pseudo = size as reported by X
92Real = physical size of font
93
94Times, Helvetica
95--------+-------+-------+-------+-------+-------+-------+-------
96HTML | 1 | 2 | 3 | 4 | 5 | 6 | 7
97--------+----- +----- +----- +----- +----- +----- +-----
98Pseudo | 9pt | 12 | 15 | 18 | 21 | 24 | 27
99--------+----- +----- +----- +----- +----- +----- +-----
100Real | 13pt | 15 | 19 | 23 | 29 | 38 | 57
101
102Courier
103--------+-------+-------+-------+-------+-------+-------+-------
104HTML | 1 | 2 | 3 | 4 | 5 | 6 | 7
105--------+----- +----- +----- +----- +----- +----- +-----
106Pseudo | 9pt | 12 | 15 | 18 | 21 | 24 | 27
107--------+----- +----- +----- +----- +----- +----- +-----
108Real | 10pt | 12 | 15 | 17 | 21 | 29 | 43
109
110These numbers were carefully chosen to produce the closest possible match
111with Netscape-rendered text under MS-Windows.
112
113The Helvetica fonts are not user-specified to Netscape at any point, but
114are implicitly called whenever a <FONT FACE="Helvetica"> HTML tag is
115encountered. For the case of <FONT FACE="Arial"> tags, a font.alias file
116has been included which will map all Arial typefaces back onto Helvetica.
117
118This font set was produced using the xmbdfed utility. It is available at
119ftp://crl.nmsu.edu/CLR/multiling/General/xmbdfed.tar.gz.
120
121
122=========================================================================
123
124Daniel Richard G. <skunk@mit.edu> //
125