[poppler] poppler/poppler: Gfx.cc,1.10,1.11

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Tue Jul 18 14:32:13 PDT 2006


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

Modified Files:
	Gfx.cc 
Log Message:
2006-07-18  Jeff Muizelaar  <jeff at infidigm.net>

	* 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();



More information about the poppler mailing list