Fontconfig - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

such as anti-aliasing. This system is used automatically for applications programmed using the
Qt 3 or GTK+ 2 graphical toolkit.
For compatibility, Red Hat Enterprise Linux includes the original font subsystem, called the core
X font subsystem. This system, which is over 15 years old, is based around the X Font Server
(xfs).
This section discusses how to configure fonts for X using both systems.

4.1. Fontconfig

The Fontconfig font subsystem allows applications to directly access fonts on the system and
use Xft or other rendering mechanisms to render Fontconfig fonts with advanced anti-aliasing.
Graphical applications can use the Xft library with Fontconfig to draw text to the screen.
Over time, the Fontconfig/Xft font subsystem replaces the core X font subsystem.
Important
The Fontconfig font subsystem does not yet work for OpenOffice.org, which
uses its own font rendering technology.
It is important to note that Fontconfig uses the
should not be edited by hand.
Tip
Due to the transition to the new font system, GTK+ 1.2 applications are not
affected by any changes made via the Font Preferences dialog (accessed by
selecting Main Menu Button [on the Panel] => Preferences => Font). For these
applications, a font can be configured by adding the following lines to the file
~/.gtkrc.mine
style "user-font" { fontset = "<font-specification>" } widget_class "*"
style "user-font"
Replace
traditional X applications, such as
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
fonts can be obtained by running
xfontsel
4.1.1. Adding Fonts to Fontconfig
:
<font-specification>
command.
/etc/fonts/fonts.conf
with a font specification in the style used by
or created interactively using the
xlsfonts
Fontconfig
configuration file, and
. A full list of core
109

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Table of Contents