Linux Today: Linux News On Internet Time.

More on LinuxToday

Linux Magazine: Handling Truetype Fonts and Commercial Font Managers

May 28, 2000, 03:01 (0 Talkback[s])
(Other stories by Æleen Frisch)

WEBINAR: On-Demand

No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >

"Last month I described how the X Window System handles fonts and explained how to install new Type 1 fonts. With TrueType fonts, the fun really begins. The X font facilities and Ghostscript were designed around bitmap and Type 1 fonts and PostScript printing. However, users tend to have access to lots of TrueType fonts, and they naturally want to use them under Linux. Fortunately, support for TrueType fonts within traditional X facilities is available."

"Linux's plain vanilla xfs font server does not understand TrueType fonts, but several servers have been created specifically for TrueType fonts: xfstt (the first TrueType font server), x-tt (a TrueType font server well-adapted to serving Asian-language fonts), and xfsft, which is the one that I will discuss here."

"xfsft is a modified version of the xfs font server that is installed by replacing the standard xfs executable file. The xfsft package also provides an updated mkfontdir utility for creating the fonts.dir and fonts.scale files. Some Linux distributions include this font server by default. (Red Hat 6.1's modified xfs server handles TrueType fonts.)"

Complete Story

Related Stories: