[Fontconfig] FontConfig Errors

Enrique Perez-Terron
Mon, 21 Nov 2005 08:50:59 -0000

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