Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv4738/poppler

Modified Files:
        Gfx.cc 
Log Message:
2006-07-18  Jeff Muizelaar  <[EMAIL PROTECTED]>

        * poppler/Gfx.cc: fix opCloseStroke to match the behaviour of
        a separate opClose and opStroke. Previously, opCloseStroke only
        closes if there is a path however opClose closes unconditionally.


Index: Gfx.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Gfx.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Gfx.cc      19 May 2006 19:21:59 -0000      1.10
+++ Gfx.cc      18 Jul 2006 21:32:11 -0000      1.11
@@ -1212,8 +1212,8 @@
     //error(getPos(), "No path in closepath/stroke");
     return;
   }
+  state->closePath();
   if (state->isPath()) {
-    state->closePath();
     out->stroke(state);
   }
   doEndPath();

_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to