[Fontconfig] FontConfig Errors

Viraj Chatterjee viraj_chatterjee at yahoo.com
Tue Aug 3 22:42:14 EST 2004

LANG is en_US.UTF-8 and so are the rest of the LC_
variables, however, I've noted that the error doesn't
change if these are changed to let's say LANG=C, or
something else.

Also, the error goes away if I set the following
environment variable, GDK_USE_XFT=0, though

I'd like to mention here that the binary for the
executable has been made using GTK+ libraries built
with the enable-xft option OFF, and I'm trying to run
the executable on a system that has GTK+ rpm's that
have a linkage with Xft and fontconfig. Though, I'll
be surprised if this should matter.

--- Enrique Perez-Terron <enrio at online.no> wrote:

> On Thu, 2004-07-29 at 12:31, Viraj Chatterjee wrote:
> > Whenever I launch my GTK+ based application on a
> > client's machine (Red Hat 8.0, 9.0), I get the
> > following two errors:
> > 
> > Fontconfig error: line 1: unknown encoding
> > Fontconfig error: Cannot load default config file
> > 
> > On searching the Internet, someone hinted that it
> is
> > possible that the /etc/fonts/fonts.conf file isn't
> in
> > an encoding that fontconfig can understand
> correctly
> > and hence the problem. Though, I found no errors
> with
> > the said file. The fc-list and fc-cache commands
> work
> > correctly and I also tried force converting the
> > fonts.conf file to UTF-8 and then trying to launch
> my
> > application, but that too didn't help.
> > 
> > Any ideas, on what might be wrong?
> An what does the client's machine's environment
> variables
> LANG, and LC_* look like?
> Regards,
> Enrique
> _______________________________________________
> fontconfig mailing list
> fontconfig at freedesktop.org
> http://freedesktop.org/mailman/listinfo/fontconfig

Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 

More information about the Fontconfig mailing list