[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
This bug was fixed in the package cairo - 1.12.14-0ubuntu1 --- cairo (1.12.14-0ubuntu1) raring; urgency=low * New upstream version, fix rendering issue introduced in previous versions (lp: #1119304) -- Sebastien BacherMon, 11 Feb 2013 11:48:45 +0100 ** Changed in: cairo (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in Cairo Graphics Library: Fix Released Status in “cairo” package in Ubuntu: Fix Released Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/cairo/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
** Branch linked: lp:ubuntu/raring-proposed/cairo -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in Cairo Graphics Library: Fix Released Status in “cairo” package in Ubuntu: In Progress Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/cairo/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
Launchpad has imported 5 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=60489. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2013-02-08T12:16:22+00:00 Finnian Reilly wrote: Created attachment 74421 Test SVG file for script scaling.py The 1.12.2 and 1.12.10 versions of libcairo2 introduces a rendering bug that was not present in version 1.10.2. It is possible the bug may also be in later versions. The rendering problem shows up when using the rsvg utility to convert the attached SVG file to PNG format. (See package librsvg2-bin) TO REPRODUCE THE BUG On my machine I am running Ubuntu 12.10 amd64 which has libcairo2-1.12.2. Save the attached file 'waterfall.svg.gz' and Python script 'scaling.py' into a test directory. Unzip the SVG file with gunzip. Make sure package librsvg2-bin is installed. File: scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', ,waterfall.%s.png' % width]) Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING VARIOUS LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' for various versions. Select the one for testing by creating a link. This selects the 1.10.2 version: ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. This bug has also been reported here with a different wording.+ https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1119304 Reply at: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1119304/comments/3 On 2013-02-08T12:18:28+00:00 Finnian Reilly wrote: Created attachment 74422 Python test script for waterfal.svg Use the script to reproduce the bug Reply at: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1119304/comments/4 On 2013-02-08T12:25:11+00:00 Finnian Reilly wrote: Created attachment 74423 Compressed SVG test file for script The first time I uploaded it I forgot to set the content type to 'auto- detect'. Reply at: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1119304/comments/5 On 2013-02-08T12:27:17+00:00 Finnian Reilly wrote: Comment on attachment 74421 Test SVG file for script scaling.py Please ignore this bad upload. I don't know how to delete it. Reply at: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1119304/comments/6 On 2013-02-08T13:14:43+00:00 Chris Wilson wrote: commit 8cfbdf2f02ba01d5638a91c9f3f7fc228b402caa Author: Chris Wilson Date: Fri Feb 8 13:10:25 2013 + polygon: Only rely on the computed boundary intersections for crossing edges If we need to extrapolate the edge to the boundary, then we run the risk of an overflow for an immaterial result. So if the edge does not cross the boundary, we can simply use the corresponding end-point and not emit the boundary segment. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60489 Signed-off-by: Chris Wilson Reply at: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1119304/comments/8 ** Changed in: cairo Status: Unknown => Fix Released ** Changed in: cairo Importance: Unknown => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in Cairo Graphics Library: Fix Released Status in “cairo” package in Ubuntu: In Progress Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
Thank you for your bug report and for report it upstream as well -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in Cairo Graphics Library: Unknown Status in “cairo” package in Ubuntu: In Progress Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/cairo/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
Thank you for your bug report ** Changed in: cairo (Ubuntu) Importance: Undecided => Low ** Changed in: cairo (Ubuntu) Status: New => In Progress ** Project changed: librsvg => cairo ** Changed in: cairo Importance: Undecided => Unknown ** Changed in: cairo Status: New => Unknown ** Changed in: cairo Remote watch: None => freedesktop.org Bugzilla #60489 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in Cairo Graphics Library: Unknown Status in “cairo” package in Ubuntu: In Progress Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/cairo/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
Cairo developer Chris Wilson has found a fix for this bug but it will not be available until the next release after the current version 1.12.12 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in libRSVG - SVG Rendering Library: New Status in “cairo” package in Ubuntu: New Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/librsvg/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
This bug has now been reported to the Cairo developers here: https://bugs.freedesktop.org/show_bug.cgi?id=60489 ** Bug watch added: freedesktop.org Bugzilla #60489 https://bugs.freedesktop.org/show_bug.cgi?id=60489 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in libRSVG - SVG Rendering Library: New Status in “cairo” package in Ubuntu: New Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/librsvg/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
Python test script ** Attachment added: "scaling.py" https://bugs.launchpad.net/librsvg/+bug/1119304/+attachment/3520528/+files/scaling.py -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in libRSVG - SVG Rendering Library: New Status in “cairo” package in Ubuntu: New Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/librsvg/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
Attached is the SVG test file for the test script ** Attachment added: "waterfall.svg.gz" https://bugs.launchpad.net/librsvg/+bug/1119304/+attachment/3520527/+files/waterfall.svg.gz -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in libRSVG - SVG Rendering Library: New Status in “cairo” package in Ubuntu: New Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/librsvg/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1119304] Re: Regression problem with libcairo2 (1.12.2) found in Quantal
** Also affects: librsvg Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/1119304 Title: Regression problem with libcairo2 (1.12.2) found in Quantal Status in libRSVG - SVG Rendering Library: New Status in “cairo” package in Ubuntu: New Bug description: The version of libcairo2 found in Ubuntu Quantal (1.12.2) and Raring (1.12.10) introduces a rendering bug that was not present in Oneiric (1.10.2) The rendering problem shows up when using the rsvg utility to convert particular SVG files to PNG format. (See package librsvg2-bin) When converting particular files, major artifacts are found in the output. At first I thought the bug was in librsvg2 but after some investigation I traced the problem to libcairo2. I was able to prove this by setting LD_LIBRARY_PATH to override the Quantal version with the Oneiric version. The artifacts then disappeared. TO REPRODUCE THE BUG This assumes you are running Ubuntu 12.10 Quantal. Download the following test SVG file into a directory and use gunzip to unpack it. http://www.eiffel-loop.com/download/waterfall.svg.gz Download the following Python test script into the same directory: http://www.eiffel-loop.com/download/scaling.py import subprocess for width in range (400, 900, 100): print 'Converting to width:', width subprocess.call (['rsvg', '--width', str (width), 'waterfall.svg', 'waterfall.%s.png' % width]) Make sure package librsvg2-bin is installed. Run the script from the command line. The script outputs 5 PNG files ranging in width from 400 to 800. The first and last PNG do not have any problem, but the 500, 600 and 700 width files all have major artifacts. TESTING LIBCAIRO2 VERSIONS Create a subdirectory 'libs'. Into this directory extract the shared object 'libcairo.so.2.x.x' from the libcairo2 debian packages for Raring and Oneiric. Select the one for testing by creating a link. This selects the 1.10.2 version for example ln libs/libcairo.so.2.11000.2 libs/libcairo.so.2 set the library path as follows export LD_LIBRARY_PATH=libs Run the test script again and examine the output. You will find that the 1.10.2 version produces images without any artifacts. To manage notifications about this bug go to: https://bugs.launchpad.net/librsvg/+bug/1119304/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp