[poppler] poppler/CairoOutputDev.cc
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Wed Apr 21 10:58:04 PDT 2010
poppler/CairoOutputDev.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 6b14c18d60cae130869f9a5c7688dfe880602224
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date: Wed Apr 21 19:56:49 2010 +0200
[cairo] Make sure we always use a new path in doPath()
Fixes document
http://acroeng.adobe.com/Test_Files/images/transparency/Untitled-2.pdf
when rendering with cairo backend.
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 768fbba..0ae0885 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -618,6 +618,7 @@ void CairoOutputDev::updateRender(GfxState *state) {
void CairoOutputDev::doPath(cairo_t *cairo, GfxState *state, GfxPath *path) {
GfxSubpath *subpath;
int i, j;
+ cairo_new_path (cairo);
for (i = 0; i < path->getNumSubpaths(); ++i) {
subpath = path->getSubpath(i);
if (subpath->getNumPoints() > 0) {
More information about the poppler
mailing list