Source string Read only

(itstool) path: sect1/para
343/3430
Context English State
There are many sources of fonts available, and one might ask how they might be used with FreeBSD. The answer can be found by carefully searching the documentation for the component that one would like to use. This is very time consuming, so this tutorial is an attempt to provide a shortcut for others who might be interested.
Basic Terminology
There are many different font formats and associated font file suffixes. A few that will be addressed here are:
<filename>.pfa</filename>, <filename>.pfb</filename>
<trademark class="registered">PostScript</trademark> type 1 fonts. The <filename>.pfa</filename> is the <emphasis>A</emphasis>scii form and <filename>.pfb</filename> the <emphasis>B</emphasis>inary form.
<filename>.afm</filename>
The font metrics associated with a type 1 font.
<filename>.pfm</filename>
The printer font metrics associated with a type 1 font.
<filename>.ttf</filename>
A <trademark class="registered">TrueType</trademark> font
<filename>.fot</filename>
An indirect reference to a TrueType font (not an actual font)
<filename>.fon</filename>, <filename>.fnt</filename>
Bitmapped screen fonts
The <filename>.fot</filename> is used by <trademark class="registered">Windows</trademark> as sort of a symbolic link to the actual <trademark class="registered">TrueType</trademark> font (<filename>.ttf</filename>) file. The <filename>.fon</filename> font files are also used by Windows. I know of no way to use this font format with FreeBSD.
What Font Formats Can I Use?
Which font file format is useful depends on the application being used. FreeBSD by itself uses no fonts. Application programs and/or drivers may make use of the font files. Here is a small cross reference of application/driver to the font type suffixes:
Driver
vt
<filename>.hex</filename>
syscons
<filename>.fnt</filename>
Application
<application>Ghostscript</application>
<filename>.pfa</filename>, <filename>.pfb</filename>, <filename>.ttf</filename>
<application>X11</application>
<application>Groff</application>
<filename>.pfa</filename>, <filename>.afm</filename>
<application>Povray</application>
The <filename>.fnt</filename> suffix is used quite frequently. I suspect that whenever someone wanted to create a specialized font file for their application, more often than not they chose this suffix. Therefore, it is likely that files with this suffix are not all the same format; specifically, the <filename>.fnt</filename> files used by syscons under FreeBSD may not be the same format as a <filename>.fnt</filename> one encounters in the <trademark class="registered">MS-DOS</trademark>/<trademark class="registered">Windows</trademark> environment. I have not made any attempt at using other <filename>.fnt</filename> files other than those provided with FreeBSD.

Loading…

No matching activity found.

Browse all component changes

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/para
Flags
read-only
Source string location
article.translate.xml:167
String age
a year ago
Source string age
a year ago
Translation file
articles/fonts.pot, string 32