|
Font Management In Linux, Part 2
Previewing FontsLast week we learned some useful tips about font management in Linux. Today we're going to learn a few more ways to preview fonts, how to view font character maps, how to manage console fonts, and how to design your own fonts. Alert reader Terry H. informed me that another font previewer has been born: GNOME-Specimen. It's just a baby, first released in November 2006, and is now at version 0.3.1. Debian users will find it in the Lenny and Sid repositories. Fedora 6 users will find it in the Extras repository. Fedora 7 and 8 merged Core and Extras, so they don't have a separate Extras repository anymore. It has a nice interface that lets you select and compare different fonts side-by-side, though you can't install or remove fonts, or print samples.
Terry also pointed out that Nautilus has two different ways of previewing fonts, and that it will preview all font formats. One way is to navigate to a fonts directory, like
gucharmap, the GNOME Character Map, is pleasingly-readable and displays both complete tables of character sets, and information on individual characters. You may also place characters on the Clipboard to paste into documents. When you see hexadecimal characters (like 15-0C or 14-0F) in the character table that means that no glyph exists at that location in the table. (Of course
Command-line commandos can use $ xlsfonts [...] -bitstream-bitstream vera sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-9 -bitstream-bitstream vera sans-bold-o-normal--0-0-0-0-p-0-iso10646-1 [...]Then use xfd ("X font display") to display a character map:
$ xfd -fn '-bitstream-bitstream vera sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-9'
Finding and Installing New FontsCheck your distribution's software repositories first. On Debian and its many descendants you can install new fonts the usual way, with
If that doesn't satisfy your font desires, there are a number of sites with nice free Linux fonts. The Linux Libertine font set is designed as a quality Times and Times New Roman replacement. These are both free of cost and licensed under the GPL. Installation is easy: download and unpack the tarball, and then move the Check out these sites for a bit of font-shopping:
Console FontsI'm talking the Real Linux Console here, the one you get to with Ctrl+Alt+F1. No sissy X terminal, no, but the real deal with no X windows of any kind. On Debian console fonts are stored as compressed files in
To change the console font, Fedora users need to edit
On Debian, look for
Ubuntu users must change
The new fonts will appear as soon as you log into to a new console, so hit Ctrl+Alt+F1, or any F-key up to F6, and log in to try it out. Alt+F
FontForgeFontForge is an interesting font viewing, editing, and creation application. Its interface is rather rickety-looking; tiny jaggedy non-resizable fonts, and no configuration options such as default font directories or themes. It starts in your home directory whether you want it to or not. But underneath the plain face is a power tool for creating fonts in all formats, and for converting fonts into different formats. Linux supports a wide range of font formats, but if you ever need to make a conversion this is the tool to use. The documentation is extensive and available in several languages. It even supports Wacom tablets. The Libertine fonts were created with FontForge. Designing fonts is a difficult and time-consuming task, but who knows, you may find you have a talent for it. ResourcesThe Anatomy of Web FontsA Quick Primer On Unicode and Software Internationalization Under Linux and UNIX Unicode Font Guide For Free/Libre Open Source Operating Systems
|