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 Bacher <[email protected]> Mon, 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.xxxxx.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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp