Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials







Font Management in Linux, Part 1
Font Perils

Carla Schroder
Thursday, October 18, 2007 10:35:49 AM

Fonts in Linux are crazy. Most Linux distributions ship with a big blob of serif, sans serif, and monospaced fonts, and there's barely a pixel's worth of difference between them.

Fonts on computers are crazy. Sometimes I pine for the olden days of swapping out the type balls on IBM Selectric typewriters to get different fonts. You always knew what you were getting with those.

Many fonts are copyrighted, so you cannot legally copy them and give them away to all of your friends. Some applications come with their own sets of fonts and rendering libraries. The GIMP does this because it thinks it can handle fonts more competently than your X server; it uses FreeType and Pango. OpenOffice.org also comes with its own set of fonts, for what reasons I know not.

The good news is your system is probably already set up to share all these fonts system-wide, and FreeType and Fontconfig are becoming standard. So the GIMP and OpenOffice.org can use your system fonts, and other applications can use the GIMP and OpenOffice.org fonts. If this is not so you can easily fix it. Just find the directories where the fonts are stored and add them to /etc/fonts/conf.avail/51-local.conf. Then, as root, run fc-cache to rebuild the fonts cache. Et voilá, and done! Some howtos say to edit /etc/fonts/fonts.conf, but you shouldn't do this. local.conf is for your own customizations, and /fonts.conf will be overwritten when Fontconfig is updated.

There is one more peril: duplicate fonts in different font formats. if you have the same font in two different formats, you'll get inconsistent behavior. There can be only one.

Next: Font Formats De-Mystified »

Skip Ahead

1 Font Perils
2 Font Formats De-Mystified
3 Font Managers
4 Ubuntu Fonts: The Horror





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers