A Unicode VGA font.
- DOSEMU's vga font is an equivalent non-Unicode font.
-
See also 9x15 versus DOSEMU's vga font
- 2016-03-29, on Slackware 14.1 within rxvt-unicode 9.21
- 2014-06-04, on Lubuntu 14.04, using rxvt-unicode 9.19.
- 2009-07-16 (or earlier) on PCLinuxOS 2007, updated 2009-06.
- 2009-07-16 on Slackware 12.2
-
2009-06-16, probably on Unity Linux, using (terminal emulator not recorded)
2016-03-29 ∞
Tested and working fine on Slackware 14.1 .. and it was easy.
1) Get it converted
\bdf2pcf u_vga16.bdf
I rescued the .pcf from my earlier installation, because I had major issues geting any version of bdf2pcf working. If you also have problems, Contact Me for a copy of u_vga16.pcf
2) Install the font
\sudo \mkdir --parents "$FONTDIR" \sudo \cp ./u_vga16.pcf "$FONTDIR" \cd "$FONTDIR" \sudo \mkfontdir \cd - \xset fp rehash \xset fp+ "$FONTDIR"
3) Restart X
While it's possible to get things working without restarting X, I wasn't able to get urxvt working (see below) until I restarted.
4) Using
I use this with urxvt. I had two solutions for it:
4a) as a command
\urxvtc -fn '-*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*'
4b) as a default
Edit ~/.Xresources
with:
URxvt*font: -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-iso10646-1 URxvt*boldFont: -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-iso10646-1
You can test this change with
\xrdb -load ~/.Xresources \urxvt
.. or restart X for it to be noticed.
2014-06-04 ∞
FONTDIR="/usr/share/fonts/X11/misc" file=uni-vga.tgz \sudo \mkdir --parents "$FONTDIR" \mkdir temp.$$ \cd temp.$$ \tar xvvzf ../$file \cd uni_vga \bdftopcf u_vga16.bdf -o u_vga16.pcf \sudo \cp ./u_vga16.pcf $FONTDIR \cd $FONTDIR \sudo \mkfontdir \xset fp rehash \xset fp+ $FONTDIR \cd -
For rxvt-unicode, I can make this font default by editing ~/.Xdefaults
and adding
URxvt*font: -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-iso10646-1 URxvt*boldFont: -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-iso10646-1
See rxvt-unicode other more changes done in .Xdefaults
xfontsel
is a tool which may greatly aid in finding and tweaking the font.-
perhaps
xfd
as well, as withxfd -fa "Droid Sans:style=Bold"
2009-07-16 (or earlier) ∞
FONTDIR="/usr/share/fonts/misc" \bdftopcf u_vga16.bdf -o u_vga16.pcf \su \cp u_vga16.pcf $FONTDIR cd $FONTDIR \mkfontdir \xset fp rehash \xset fp+ $FONTDIR
You will have to restart apps before they can see this new font.
2009-07-16 ∞
bdf2pdf
is called bdftopcf
. All other instructions are mostly the same.
FONTDIR="/usr/share/fonts/misc" \bdftopcf u_vga16.bdf -o u_vga16.pcf \su \cp u_vga16.pcf $FONTDIR cd $FONTDIR \mkfontdir exit FONTDIR="/usr/share/fonts/misc" cd $FONTDIR \xset fp rehash \xset fp+ $FONTDIR
On Unity Linux 0.99 alpha 1, tested 2009-07-19, the instructions are the same as with Slackware. I was going to log out of X to get things working, but I fiddled around, and "allow bold font" killed everything without exiting X. I restarted my terminal and it had the proper font chosen and working. Odd.
2009-06-16 ∞
This was probably tested with Unity Linux.
Now I can use xfce's Terminal with a real font. Bold fonts are crap though, so I disable that in Terminal's preferences.
FONTDIR="/usr/share/fonts/misc" \bdf2pcf u_vga16.bdf -o u_vga16.pcf \sudo \cp u_vga16.pcf $FONTDIR \cd $FONTDIR \mkfontdir \xset fp rehash \xset fp+ $FONTDIR
Then I quit all instances of my terminal, restarted it, went into its preferences and picked the new font.
Unfortunately it seems that Firefox sees but won't use the font. Sigh. I would be cool if I could have every program use it.
I've been using medit for a while now, and I've grown accustomed to it using a default variable-width font. It's quite pretty. I'll force myself to use a fixed-width font for programming again. I wouldn't want to let myself get soft. ;)
Last updated 2020-05-20 at 19:42:53