Gnotices: Gdkxft 1.1 released: Anti-Aliased fonts for GTK+ 1.2 | Linux Today

Gnotices: Gdkxft 1.1 released: Anti-Aliased fonts for GTK+ 1.2

Written By
Web Webster
Web Webster
Sep 7, 2001

gdkxft transparently adds anti-aliased font support to GTK+-1.2.
Once it’s installed, users can run most existing GTK+ binaries and
see anti-aliased fonts in the GTK widgets. There’s no need to
recompile gtk+ or individual applications.

From Gnotices:

Within only days of the 1.0 release, Gdkxft has been
updated to version 1.1. Improvements include more helpful
documentation
and a slightly smarter installer.

Complete
Story
(the announcement above with some useful commentary from
gnotices readers)


[ Here’s some additional info gathered from getting this to
work on a Red Hat 7.1 system running Ximian GNOME. Take it as a
“works for me” and with a hearty “your mileage may vary.” -mph
]

You may find it useful to add the following line to
/etc/X11/gdm/gnomerc:

export LD_PRELOAD=/usr/lib/libgdkxft.so

Those using truetype fonts from Microsoft (Arial, Verdana, etc.)
will find it useful to add the following lines to the file
/usr/share/gdkxft.conf:

-monotype-*
-microsoft-*

The editor’s /etc/X11/Xftconfig looks like this (the default
generated by the rpm caused some problems):

dir "/usr/X11R6/lib/X11/fonts/ttf"
dir "/usr/X11R6/lib/X11/fonts/Type1"

# alias 'fixed' for 'mono'

match any family == "fixed"             edit family =+ "mono";


# Check users config file

includeif       "~/.xftconfig"


# Use Lucidux fonts for default faces

match any family == "serif"             edit family += "LuciduxSerif";
match any family == "sans"              edit family += "LuciduxSans";
match any family == "mono"              edit family += "LuciduxMono";


# Alias between XLFD families and font file family name, prefer local
# fonts

match any family == "charter"           edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";

match any family == "Lucidux Serif"     edit family += "LuciduxSerif";
match any family == "LuciduxSerif"      edit family =+ "Lucidux Serif";

match any family == "Lucidux Sans"      edit family += "LuciduxSans";
match any family == "LuciduxSans"       edit family =+ "Lucidux Sans";

match any family == "Lucidux Mono"      edit family += "LuciduxMono";
match any family == "LuciduxMono"       edit family =+ "Lucidux Mono";

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.