Comment 14 for bug 430887

Revision history for this message
In , David Benjamin (davidben) wrote :

It looks like that got introduced when porting the patch down to CairoOutputDev. I get this error on a random PDF with master, but not the original patch.

I think it's because we call state->restore() before the output device sees anything.

 void Gfx::restoreState() {
   state = state->restore();
   out->restoreState(state);
 }