[Gambas-user] no fonts at all

scatman scatman at ...1832...
Sun Jan 20 12:55:29 CET 2008


Am Sonntag, 20. Januar 2008 schrieb o.s.p at ...69...:

> hallo!
> i'm trying to compile the svn 1017
> everything seems ok but when i run the ide no chars are displayed but
> only sqares ...
> i've tryed to run some precompiled examples but many show this error:
>
> "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 and on http://fontconfig.org"
>
> this is the only app with this error and seems that the fontconfig
> configuration files are correct.
> my distro is frugalware 0.8.
> what can i check?

the same under gentoo. Gambas (rev 1020) doesn´t find the installed Fonts.
If i rename or move /etc/fonts/fonts.conf, Gambas detects the Fonts.  

Gambas with /etc/fonts/fonts.conf
##########################

open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 4
access("/etc/fonts/fonts.conf", R_OK)   = 0
stat("/etc/fonts/fonts.conf", {st_mode=S_IFREG|0644, st_size=5251, ...}) = 0
open("/etc/fonts/fonts.conf", O_RDONLY) = 14
write(2, "Fontconfig warning: adding <cach"..., 70Fontconfig warning: adding 
<cachedir>/var/cache/fontconfig</cachedir>
write(2, "Fontconfig warning: adding <cach"..., 62Fontconfig warning: adding 
<cachedir>~/.fontconfig</cachedir>

Gambas without /etc/fonts/fonts.conf
mv /etc/fonts/fonts.conf /etc/fonts/fonts.conf_bak
####################################

open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 4
access("/etc/fonts/fonts.conf", R_OK)   = -1 ENOENT (No such file or 
directory)
stat("/usr/share/fonts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/cache/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-x86-64.cache-2", 
O_RDONLY) = 14
stat("/usr/share/fonts/100dpi", {st_mode=S_IFDIR|0755, st_size=36864, ...}) 
= 0
open("/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86-64.cache-2", 
O_RDONLY) = 14
stat("/usr/share/fonts/75dpi", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 
0
open("/var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86-64.cache-2", 
O_RDONLY) = 14
stat("/usr/share/fonts/corefonts", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
open("/var/cache/fontconfig/4b5cf4386f1cde02a336ba961b4ac82d-x86-64.cache-2", 
O_RDONLY) = 14
stat("/usr/share/fonts/cronyx", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 
0
open("/var/cache/fontconfig/51b4782270b1a913b397305b70e2eca3-x86-64.cache-2", 
O_RDONLY) = 14

and so on.  

very strange.




More information about the User mailing list