LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Fontconfig Trouble (https://www.linuxquestions.org/questions/linux-desktop-74/fontconfig-trouble-496996/)

RaVeN-dX 10-30-2006 02:01 PM

Fontconfig Trouble
 
Hello, it's my first message in this forum and my english is not really nice catch this in your head :)

my problem is when i try to run firefox, gftp or a couple of other application i can see this:



Quote:

root@darkstar:~# gaim
Fontconfig error: Cannot load default config file
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page

root@darkstar:~# gftp
Fontconfig error: Cannot load default config file
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page

root@darkstar:~# firefox
Fontconfig error: Cannot load default config file
/usr/lib/firefox/run-mozilla.sh: line 131: 12468 Segmentation fault "$prog" ${1+"$@"}
after some head crush on my keyboard and help from google, i have install Fontconfig 2.4.1 from source, but this think don't fix the problem.

Quote:

root@darkstar:~/fontconfig-2.4.1# firefox
Fontconfig error: Cannot load default config file
/usr/lib/firefox/run-mozilla.sh: line 131: 12488 Segmentation fault "$prog" ${1+"$@"}
and when i try "export FONTCONFIG_PATH=/etc/fonts"

Quote:

root@darkstar:~# cd fontconfig-2.4.1
root@darkstar:~/fontconfig-2.4.1# export FONTCONFIG_PATH=/etc/fonts
root@darkstar:~/fontconfig-2.4.1# firefox
Firefox run fine, BUT only in the fontconfig-2.4.1 directory, and this bug reapair at next reboot or when i leave the directory !? why ?

If some one can help me, tanks :D

reddazz 10-31-2006 03:17 AM

I am not sure how you can permanently resolve the fontconfig problem, but as a workaround, put
Code:

export FONTCONFIG_PATH=/etc/fonts
in your ~/.bash_profile, then log out and back in again.

RaVeN-dX 10-31-2006 11:49 AM

All right :study: the problem is a miscompiled fontconfig

i juste changed some value line in fontconfig-2.4.1/src/Makefile

------SNIP-----------

....
sysconfdir = /etc
...
CONFDIR = ${sysconfdir}/fonts
...
INCLUDES = $(FREETYPE_CFLAGS) $(EXPAT_CFLAGS) -DFONTCONFIG_PATH='"$(CONFDIR)"' -I$(top_srcdir) -I$(top_srcdir)/src

-----------------

./configure; make; make install,

Now all work fine


All times are GMT -5. The time now is 01:47 AM.