[Kde-games-devel] KMines background image scaling problem

Parker Coates parker.coates at gmail.com
Wed Oct 21 15:08:27 CEST 2009


On Wed, Oct 21, 2009 at 08:55 wrote:
> On 21 Oct 2009 13:38, Dmitry Suzdalev wrote:
>> On Wednesday 21 October 2009 16:26:33 Sean wrote:
> OK, I've deleted all of the objects out of the background and it renders
> without the white boarder(i.e properly). It seems now I've go to find out
> what object breaks it,

Once a long time ago, I had a similar issue (only much worse) when
developing my initial themes for Killbots. In the end it turned out to
be an Inkscape bug.

The group in question looked fine in Inkscape, but in game it only
occupied a small corner of the rectangle given to it. I eventually
resorted to manually walking through the SVG source, until I
eventually found an element inside the group that I couldn't identify.
It turns out it was an invisible rect (I think) that was pushed way
off to the side. For some reason Inkscape ignored it, but QSvgRenderer
did not.

Manually, deleting this element fixed it immediately. I'm not going to
say for certain that you're seeing the same issue, but if the shoe
fits...

Parker


More information about the kde-games-devel mailing list