The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: listitem/para
Context English State
<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:
<filename>.pfa</filename>, <filename>.pfb</filename>, <filename>.ttf</filename>
<filename>.pfa</filename>, <filename>.afm</filename>
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.
Setting a Virtual Console to 80x60 Line Mode
First, an 8x8 font must be loaded. To do this, <filename>/etc/rc.conf</filename> should contain the line (change the font name to an appropriate one for your locale):
font8x8="iso-8x8" # font 8x8 from /usr/share/syscons/fonts/* (or NO).
The command to actually switch the mode is <citerefentry><refentrytitle>vidcontrol</refentrytitle><manvolnum>1</manvolnum></citerefentry>:
<prompt>%</prompt> <userinput>vidcontrol VGA_80x60</userinput>
Various screen-oriented programs, such as <citerefentry><refentrytitle>vi</refentrytitle><manvolnum>1</manvolnum></citerefentry>, must be able to determine the current screen dimensions. As this is achieved this through <command>ioctl</command> calls to the console driver (such as <citerefentry><refentrytitle>syscons</refentrytitle><manvolnum>4</manvolnum></citerefentry>) they will correctly determine the new screen dimensions.
To make this more seamless, one can embed these commands in the startup scripts so it takes place when the system boots. To do this is add this line to <filename>/etc/rc.conf</filename>.
allscreens_flags="VGA_80x60" # Set this vidcontrol mode for all virtual screens
References: <citerefentry><refentrytitle>rc.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, <citerefentry><refentrytitle>vidcontrol</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
Using Type 1 Fonts with <application>X11</application>
<application>X11</application> can use either the <filename>.pfa</filename> or the <filename>.pfb</filename> format fonts. The <application>X11</application> fonts are located in various subdirectories under <filename>/usr/X11R6/lib/X11/fonts</filename>. Each font file is cross referenced to its <application>X11</application> name by the contents of <filename>fonts.dir</filename> in each directory.
There is already a directory named <filename>Type1</filename>. The most straight forward way to add a new font is to put it into this directory. A better way is to keep all new fonts in a separate directory and use a symbolic link to the additional font. This allows one to more easily keep track of ones fonts without confusing them with the fonts that were originally provided. For example:
<lineannotation>Create a directory to contain the font files</lineannotation>
<prompt>%</prompt> <userinput>mkdir -p /usr/local/share/fonts/type1</userinput>
<prompt>%</prompt> <userinput>cd /usr/local/share/fonts/type1</userinput>

<lineannotation>Place the .pfa, .pfb and .afm files here</lineannotation>
<lineannotation>One might want to keep readme files, and other documentation</lineannotation>
<lineannotation>for the fonts here also</lineannotation>
<prompt>%</prompt> <userinput>cp /cdrom/fonts/atm/showboat/showboat.pfb .</userinput>
<prompt>%</prompt> <userinput>cp /cdrom/fonts/atm/showboat/showboat.afm .</userinput>

<lineannotation>Maintain an index to cross reference the fonts</lineannotation>
<prompt>%</prompt> <userinput>echo showboat - InfoMagic CICA, Dec 1994, /fonts/atm/showboat &gt;&gt;INDEX</userinput>


No matching activity found.

Browse all component changes

Things to check

Multiple failing checks

Following checks are failing:
Unchanged translation: Spanish, Portuguese (Brazil)


Source information

Source string comment
(itstool) path: listitem/para
Source string location
String age
a year ago
Source string age
a year ago
Translation file
articles/fonts.pot, string 45