A set of modified artwiz fonts (original site) based on artwiz-aleczapka and artwiz-latin1, with:
- Full ISO/IEC 8859-1 support (German, Portuguese, Swedish etc. characters; equivalent to the Basic Latin and Latin-1 Supplement blocks of Unicode)
- Glyph names matching standard Unicode character names,
- A bold variant of each font. (based on artwiz-latin1's bold fonts, but with some fixes; most notably, font bounding box corrections)
Building is rather straightforward:
make
This will create a build
directory, and create generated .pcf
files there.
If you wish to clean up the build output, you can run make clean
.
Installing is also straightforward:
sudo make install
This will install the fonts to /usr/share/fonts/artwiz-fonts-wl
, and create the Xorg config file
/etc/X11/xorg.conf.d/40-x-fonts.conf
to enable them. You may specify values for the DESTDIR
, SYSCONFDIR
,
PREFIX
, FONTDIR
, or TARGET
variables after make
in order to override the default paths. (defaults:
DESTDIR=/
, SYSCONFDIR=/etc
, PREFIX=/usr
, FONTDIR=$(PREFIX)/share/fonts
, TARGET=$(FONTDIR)/artwiz-fonts-wl
)
If you use Ubuntu or another distro that disables bitmap fonts in fontconfig by default, you'll have to re-enable them:
rm /etc/fonts/conf.d/30-debconf-no-bitmaps.conf
On Arch Linux, this file is named /etc/fonts/conf.d/70-no-bitmaps.conf
, and the file
/etc/fonts/conf.avail/70-yes-bitmaps.conf
should be linked in its place:
rm /etc/fonts/conf.d/70-no-bitmaps.conf
ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/
Do the following:
-
Update the fontconfig cache:
fc-cache -fv /PATH/TO/artwiz-fonts-wl
-
Create a new file
/etc/X11/xorg.conf.d/40-x-fonts.conf
with the contents:Section "Files" FontPath "/PATH/TO/artwiz-fonts-wl" EndSection
-
Add this to your fontconfig config file (eg.
/etc/fonts/local.conf
):<dir>/PATH/TO/artwiz-fonts-wl:unscaled</dir>
-
If you use Ubuntu or another distro that disables bitmap fonts in fontconfig by default:
rm /etc/fonts/conf.d/30-debconf-no-bitmaps.conf
On Arch Linux, this file is named
/etc/fonts/conf.d/70-no-bitmaps.conf
, and the file/etc/fonts/conf.avail/70-yes-bitmaps.conf
should be linked in its place:rm /etc/fonts/conf.d/70-no-bitmaps.conf ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/
-
Either restart X, or run:
xset +fp /PATH/TO/artwiz-fonts-wl
-
Test it:
xlsfonts | grep drift fc-list | grep drift
NOTE: Your installation may vary depending on your distro.
You might want to use these fonts in GTK apps menus and other widgets. (screenshot)
Edit ~/.gtkrc.mine
, and add:
gtk-font-name = "snap 10"
and ensure that ~/.gtkrc-2.0
contains:
include "/home/your_home/.gtkrc.mine"
(your_home
is just an example)