Subject: Re: acroread7 problems, possibly due to xorg
To: Courtney R. Spencer <cspencer@mindspring.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 07/07/2005 14:06:04
In message <20050707174820.GA27906@corp.earthlink.net>, "Courtney R. Spencer" w
rites:
>On Thu Jul 07, 2005 at 10:01:53AM -0400, Steven M. Bellovin wrote:
>> Is anyone successfully using print/acroread7?  When I invoke it, I get 
>> a lot of gdkpixbuf errors such as these:
>> 
>>   (acroread:8282): GdkPixbuf-WARNING **: Error loading XPM image loader: Ima
>ge type 'xpm' is not supported
>> 
>>   (acroread:8282): GLib-GObject-CRITICAL **: file gobject.c: line 1319 (g_ob
>ject_ref): assertion `G_IS_OBJECT (object)' failed
>> 
>> 
>> culminating in 
>> 
>>   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
>> 
>> I see nothing obviously wrong with my configuration; I ran fc-cache
>> and /usr/pkg/emul/linux/usr/bin/fc-cache to make sure that all font 
>> caches were up to date.
>> 
>> I should note that I'm experiencing this on -current with xorg.  
>> 
>> It's becoming rather critical to get acroread7 working.  acroread5 has 
>> some new security holes; Adobe's suggested fix is to switch to 
>> acroread7.  
>> 
>
>
>I had the same issue on current with Xfree86.  I found that during a 
>postinstall of suse_gtk2-9.1nb3 there were errors and the following 
>file was either scrambled or not created:
>
>/usr/pkg/emul/linux/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
>
>What I did to workaround this was take the netbsd native package file 
>(/usr/pkg/libdata/gtk-2.0/gdk-pixbuf.loaders) and correct the paths
>
>s@/usr/pkg/@/opt/gnome/@ 
>
>and the version
>s@2.4.0@2.2.0@
>
>then ran fc-cache.

Hmm -- I hope you sendpr'd that...  

Anyway, that has solved the gdk error message problem, but I'm still 
being told there are no fonts found, even after running
'fc-cache --force' (and the same for emul/linux.../fc-cache).

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb