|
Lines 77-83
Link Here
|
| 77 |
|
77 |
|
| 78 |
<variablelist> |
78 |
<variablelist> |
| 79 |
<varlistentry> |
79 |
<varlistentry> |
| 80 |
<term><filename>.pfa</>, <filename>.pfb</></term> |
80 |
<term><filename>.pfa</filename>, <filename>.pfb</filename></term> |
| 81 |
|
81 |
|
| 82 |
<listitem> |
82 |
<listitem> |
| 83 |
<para>Postscript type 1 fonts. The |
83 |
<para>Postscript type 1 fonts. The |
|
Lines 89-95
Link Here
|
| 89 |
</varlistentry> |
89 |
</varlistentry> |
| 90 |
|
90 |
|
| 91 |
<varlistentry> |
91 |
<varlistentry> |
| 92 |
<term><filename>.afm</></term> |
92 |
<term><filename>.afm</filename></term> |
| 93 |
|
93 |
|
| 94 |
<listitem> |
94 |
<listitem> |
| 95 |
<para>The font metrics associated with a type 1 font.</para> |
95 |
<para>The font metrics associated with a type 1 font.</para> |
|
Lines 97-103
Link Here
|
| 97 |
</varlistentry> |
97 |
</varlistentry> |
| 98 |
|
98 |
|
| 99 |
<varlistentry> |
99 |
<varlistentry> |
| 100 |
<term><filename>.pfm</></term> |
100 |
<term><filename>.pfm</filename></term> |
| 101 |
|
101 |
|
| 102 |
<listitem> |
102 |
<listitem> |
| 103 |
<para>The printer font metrics associated with a type 1 |
103 |
<para>The printer font metrics associated with a type 1 |
|
Lines 106-112
Link Here
|
| 106 |
</varlistentry> |
106 |
</varlistentry> |
| 107 |
|
107 |
|
| 108 |
<varlistentry> |
108 |
<varlistentry> |
| 109 |
<term><filename>.ttf</></term> |
109 |
<term><filename>.ttf</filename></term> |
| 110 |
|
110 |
|
| 111 |
<listitem> |
111 |
<listitem> |
| 112 |
<para>A TrueType font</para> |
112 |
<para>A TrueType font</para> |
|
Lines 114-120
Link Here
|
| 114 |
</varlistentry> |
114 |
</varlistentry> |
| 115 |
|
115 |
|
| 116 |
<varlistentry> |
116 |
<varlistentry> |
| 117 |
<term><filename>.fot</></term> |
117 |
<term><filename>.fot</filename></term> |
| 118 |
|
118 |
|
| 119 |
<listitem> |
119 |
<listitem> |
| 120 |
<para>An indirect reference to a TrueType font (not an |
120 |
<para>An indirect reference to a TrueType font (not an |
|
Lines 123-129
Link Here
|
| 123 |
</varlistentry> |
123 |
</varlistentry> |
| 124 |
|
124 |
|
| 125 |
<varlistentry> |
125 |
<varlistentry> |
| 126 |
<term><filename>.fon</>, <filename>.fnt</></term> |
126 |
<term><filename>.fon</filename>, <filename>.fnt</filename></term> |
| 127 |
|
127 |
|
| 128 |
<listitem> |
128 |
<listitem> |
| 129 |
<para>Bitmapped screen fonts</para> |
129 |
<para>Bitmapped screen fonts</para> |
|
Lines 157-163
Link Here
|
| 157 |
<term>syscons</term> |
157 |
<term>syscons</term> |
| 158 |
|
158 |
|
| 159 |
<listitem> |
159 |
<listitem> |
| 160 |
<para><filename>.fnt</></para> |
160 |
<para><filename>.fnt</filename></para> |
| 161 |
</listitem> |
161 |
</listitem> |
| 162 |
</varlistentry> |
162 |
</varlistentry> |
| 163 |
</variablelist> |
163 |
</variablelist> |
|
Lines 271-277
Link Here
|
| 271 |
is cross referenced to its X11 name by the contents of the |
271 |
is cross referenced to its X11 name by the contents of the |
| 272 |
<filename>fonts.dir</filename> file in each directory.</para> |
272 |
<filename>fonts.dir</filename> file in each directory.</para> |
| 273 |
|
273 |
|
| 274 |
<para>There is already a directory named <filename>Type1</>. The |
274 |
<para>There is already a directory named <filename>Type1</filename>. The |
| 275 |
most straight forward way to add a new font is to put it into |
275 |
most straight forward way to add a new font is to put it into |
| 276 |
this directory. A better way is to keep all new fonts in a |
276 |
this directory. A better way is to keep all new fonts in a |
| 277 |
separate directory and use a symbolic link to the additional |
277 |
separate directory and use a symbolic link to the additional |
|
Lines 364-370
Link Here
|
| 364 |
|
364 |
|
| 365 |
<listitem> |
365 |
<listitem> |
| 366 |
<para>Lets just name all the new fonts |
366 |
<para>Lets just name all the new fonts |
| 367 |
<literal>type1</>.</para> |
367 |
<literal>type1</literal>.</para> |
| 368 |
</listitem> |
368 |
</listitem> |
| 369 |
</varlistentry> |
369 |
</varlistentry> |
| 370 |
|
370 |
|
|
Lines 381-387
Link Here
|
| 381 |
|
381 |
|
| 382 |
<listitem> |
382 |
<listitem> |
| 383 |
<para>Normal, bold, medium, semibold, etc. From the |
383 |
<para>Normal, bold, medium, semibold, etc. From the |
| 384 |
<citerefentry><refentrytitle>strings</><manvolnum>1</></> |
384 |
<citerefentry><refentrytitle>strings</refentrytitle><manvolnum>1</manvolnum></citerefentry> |
| 385 |
output above, it appears that this font has a weight of |
385 |
output above, it appears that this font has a weight of |
| 386 |
<emphasis>medium</emphasis>.</para> |
386 |
<emphasis>medium</emphasis>.</para> |
| 387 |
</listitem> |
387 |
</listitem> |
|
Lines 441-447
Link Here
|
| 441 |
</informalexample> |
441 |
</informalexample> |
| 442 |
|
442 |
|
| 443 |
as the name, and then use |
443 |
as the name, and then use |
| 444 |
<citerefentry><refentrytitle>xfontsel</><manvolnum>1</></> to |
444 |
<citerefentry><refentrytitle>xfontsel</refentrytitle><manvolnum>1</manvolnum></citerefentry> to |
| 445 |
examine it and adjust the name based on the appearance of the |
445 |
examine it and adjust the name based on the appearance of the |
| 446 |
font.</para> |
446 |
font.</para> |
| 447 |
|
447 |
|
|
Lines 477-483
Link Here
|
| 477 |
</informalexample> |
477 |
</informalexample> |
| 478 |
|
478 |
|
| 479 |
<para>References: &man.xfontsel.1;, &man.xset.1;, <citetitle>The X |
479 |
<para>References: &man.xfontsel.1;, &man.xset.1;, <citetitle>The X |
| 480 |
Windows System in a Nutshell</>, <ulink |
480 |
Windows System in a Nutshell</citetitle>, <ulink |
| 481 |
URL="http://www.ora.com/">O'Reilly & |
481 |
URL="http://www.ora.com/">O'Reilly & |
| 482 |
Associates</ulink>.</para> |
482 |
Associates</ulink>.</para> |
| 483 |
</sect1> |
483 |
</sect1> |
|
Lines 485-491
Link Here
|
| 485 |
<sect1> |
485 |
<sect1> |
| 486 |
<title>Using type 1 fonts with Ghostscript</title> |
486 |
<title>Using type 1 fonts with Ghostscript</title> |
| 487 |
|
487 |
|
| 488 |
<para>Ghostscript references a font via its <filename>Fontmap</> |
488 |
<para>Ghostscript references a font via its <filename>Fontmap</filename> |
| 489 |
file. This must be modified in a similar way to the X11 |
489 |
file. This must be modified in a similar way to the X11 |
| 490 |
<filename>fonts.dir</filename> file. Ghostscript can use either |
490 |
<filename>fonts.dir</filename> file. Ghostscript can use either |
| 491 |
the <filename>.pfa</filename> or the <filename>.pfb</filename> |
491 |
the <filename>.pfa</filename> or the <filename>.pfb</filename> |
|
Lines 541-547
Link Here
|
| 541 |
<filename>/usr/share/groff_font/devps/SHOWBOAT</filename>. The |
541 |
<filename>/usr/share/groff_font/devps/SHOWBOAT</filename>. The |
| 542 |
file must be created using tools provided by groff.</para> |
542 |
file must be created using tools provided by groff.</para> |
| 543 |
|
543 |
|
| 544 |
<para>The first tool is <command>afmtodit</>. This is not |
544 |
<para>The first tool is <command>afmtodit</command>. This is not |
| 545 |
normally installed, so it must be retrieved from the source |
545 |
normally installed, so it must be retrieved from the source |
| 546 |
distribution. I found I had to change the first line of the |
546 |
distribution. I found I had to change the first line of the |
| 547 |
file, so I did:</para> |
547 |
file, so I did:</para> |
|
Lines 582-591
Link Here
|
| 582 |
printer in order for the font to be used (unless the printer |
582 |
printer in order for the font to be used (unless the printer |
| 583 |
happens to have the showboat font built in or on an accessible |
583 |
happens to have the showboat font built in or on an accessible |
| 584 |
font disk.) The final step is to create a down loadable font. |
584 |
font disk.) The final step is to create a down loadable font. |
| 585 |
The <command>pfbtops</> tool is used to create the |
585 |
The <command>pfbtops</command> tool is used to create the |
| 586 |
<filename>.pfa</filename> format of the font, and the |
586 |
<filename>.pfa</filename> format of the font, and the |
| 587 |
<filename>download</> file is modified to reference the new |
587 |
<filename>download</filename> file is modified to reference the new |
| 588 |
font. The <filename>download</> file must reference the |
588 |
font. The <filename>download</filename> file must reference the |
| 589 |
internal name of the font. This can easily be determined from |
589 |
internal name of the font. This can easily be determined from |
| 590 |
the groff font file as illustrated:</para> |
590 |
the groff font file as illustrated:</para> |
| 591 |
|
591 |
|
|
Lines 686-692
Link Here
|
| 686 |
|
686 |
|
| 687 |
<itemizedlist> |
687 |
<itemizedlist> |
| 688 |
<listitem> |
688 |
<listitem> |
| 689 |
<para><filename>GS_TTF.PS</filename></para |
689 |
<para><filename>GS_TTF.PS</filename></para> |
| 690 |
</listitem> |
690 |
</listitem> |
| 691 |
|
691 |
|
| 692 |
<listitem> |
692 |
<listitem> |