Gradient meshes don't work on Windows

Bug #1335954 reported by Christoph Neuhauser
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned
Inkscape Devlibs
Fix Released
Undecided
Unassigned

Bug Description

When I want to use the new gradient mesh feature in one of the Inkscape snapshots on Windows, the fill color always turns fully transparent.
I could reproduce this behaviour both on Windows 8.1 64-bit and Windows XP 32-bit with the following snapshots:
inkscape_r12605-201309281441
inkscape_r13442-201406291311

However, when I test the Inkscape version "1:0.48+devel+13444+48~ubuntu13.10.1" on my Linux Mint 16 system, everything works exactly as expected. I've attached the SVG file containing the gradient mesh I used to test.
It seems that others experience this bug as well, for example in the thread http://www.inkscapeforum.com/viewtopic.php?f=22&t=16091&start=25 you can read things like this:

Postby Tonttu » Thu Jun 05, 2014 9:08 pm
I'm using Inkscape 0.48+devel r13400 on Win7 and trying out the gradient mesh, but when I activate it on a shape, color disappears. Opacity in the stops remains full, but I can't see any color. ...

Revision history for this message
Christoph Neuhauser (christoph-neuhauser) wrote :
Revision history for this message
Liam P. White (liampwhite) wrote :

The current Cairo version in 32-bit devlibs is too old to support gradient meshes.

In the 64-bit package we distribute for Windows, the Cairo version is new enough to support meshes, but they are not enabled by default.

tags: added: build gradient-mesh renderer-cairo win32
Revision history for this message
Christoph Neuhauser (christoph-neuhauser) wrote :

So if I follow the advice from "http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows_64-bit", I should be able to build an Inkscape snapshot with support for gradient meshes, shouldn't I?

Revision history for this message
Johan Engelen (johanengelen) wrote :

Yep.
You'd have to go in to build-x64.xml and change things around line 222.

Revision history for this message
Christoph Neuhauser (christoph-neuhauser) wrote :

OK, it compiles now so I'll test it tomorrow and write whether it solves the problem.

su_v (suv-lp)
tags: added: packaging
tags: removed: packaging
Revision history for this message
Christoph Neuhauser (christoph-neuhauser) wrote :

I've compiled and tested Inkscape on my system now, but it has a segmentation fault when launched.
As this is not related to the topic of this thread, I've created a new bug report for it: https://bugs.launchpad.net/inkscape/+bug/1336269

Revision history for this message
su_v (suv-lp) wrote :

Proposing to close as 'Invalid' for project Inkscape (not a bug in core inkscape). This needs to be addressed for 32bit Windows builds by upgrading cairo in the devlibs.

Changed in inkscape:
status: New → Triaged
Revision history for this message
su_v (suv-lp) wrote :

This report can be closed both for Inkscape as well as for the devlibs:
- devlibs: cairo has been updated both in 32bit devlibs (1.14.6) and 64bit devlibs (1.15.2);
- inkscape: mesh gradients are enabled by default in Inkscape >= 0.92, and work on all supported platforms which provide cairo >= 1.11.4.

jazzynico (jazzynico)
Changed in inkscape-devlibs:
status: New → Fix Released
Changed in inkscape:
status: Triaged → Fix Released
milestone: none → 0.92
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.