Commit 24b5a68a authored by Jeff Muizelaar's avatar Jeff Muizelaar

2006-07-18 Jeff Muizelaar <jeff@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.
parent c57ebd40
2006-07-18 Jeff Muizelaar <jeff@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.
2006-07-18 Jeff Muizelaar <jeff@infidigm.net>
* poppler/TextOutputDev.cc: call setDefaultCTM() after start page
......
......@@ -1212,8 +1212,8 @@ void Gfx::opCloseStroke(Object args[], int numArgs) {
//error(getPos(), "No path in closepath/stroke");
return;
}
state->closePath();
if (state->isPath()) {
state->closePath();
out->stroke(state);
}
doEndPath();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment