Begin forwarded message:

Date: Fri, 28 Sep 2007 16:09:22 +0200
From: Jesús Guerrero <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Display problems with SVG and Xorg 7.2


On Fri, 28 Sep 2007 10:03:18 +0200
[EMAIL PROTECTED] wrote:

Hello again,

> > It works here with 7.3, and worked as well with 7.2 (not that I use graphics
> > on my configuration, but I would have noticed something if there was some
> > problem).
> Icons looks ok and some of the theme parts, too. But it seems that there're 
> problems
> with gradients. If I open the problematic SVG's in Inkscape all looks well.
> 
Inkscape doesn't link against librsvg, so, that is compatible with my theory 
that
the problem lies something in librsvg/X libs communication.

> > Fvwm uses librsvg to render the svg pictures, so, one thing you could try is
> > to recompile librsvg against the latest xorg libraries. I know it links to
> > libXrender and libX11 at least, and probably many more. Reffer for 
> > documentation
> > in your distro to compile programs for source, and to the fvwm web page for
> > info on how to compile fvwm, in case you need to compile it as well.
> I think not that recompiling librsvg will fix this issue because two distris 
> have the same
> problem. Also with the default shipped FVWM and the self compiled ones.
> On the other hand I haven't any experience with lib compiling - only with 
> normal 
> projects - so I don't know what I have all to do. I know RTFM is the way - 
> but a long 
> way. A quicker one is that you test the issue with my config. It works out of 
> the box.
> 
Wrong. There has been an ABI change from xorg-7.2 to xorg-7.3. This means that,
any thing that was compiled against 7.2 (as seems to be the case for your 
distro's
libs), is not guaranteed to work with 7.3 (and here the strange problems start).

If librsvg uses any part of code in libXrender or libXwhatever that was touched
by the ABI change, then your librsvg compiled for 7.2 will act funky on 7.3, as
it is the case. So, you need to rebuild librsvg to use the new xlibs. As I said,
it links to at least two of them, if not more. You might need to recompile fvwm
against the new librsvg after that as well.

> If you haven't the same display problem I will try a recompile of librsvg.
> 
> Would you test it, please?

I just tried it, and it is completely broken, probably you are using some fixed
settings for things like paths, resolution and the like, I don't have the time
to look at it now, I'll take a look later and see what I can find, since 
everything
is that broken that I can't even start using it. The few svgs I can see, though,
render just fine.

To compile a library is just like to compile any other thing. Usually, you just
do

./configure
make
su -c 'make install'

But please, ask in the forums for your distro to be aware of any distro-specific
details. I know nothing at all about fedora since many years ago. You might need
to install gcc and a few devel packages, starting with the headers for X.

Also, before ./configure, you should look at ./configure --help and see the
available options.

Another possibility is to fill a bug request for your distro asking them to
provide binary packages that are updated against the latest Xorg, of course, 
only in case you are using official repositories to install Xorg, and it is
marked as stable by your distro's team.
-- 
Jesús Guerrero <[EMAIL PROTECTED]>


-- 
Jesús Guerrero <[EMAIL PROTECTED]>

Reply via email to