Hi,

In Gfx::opBeginMarkedContent, I would change the end of the function
to something like:

if(numArgs == 2 && args[1].isDict ()) {
  out->beginMarkedContent(args[0].getName(),args[1].getDict());
} else if(numArgs == 1) {
  out->beginMarkedContent(args[0].getName(),NULL);
}

(adding the else clause)

Otherwise beginMarkedContent and endMarkedContent will be unbalanced
(called different amount of times) in the output device.


Kind regards,


Nils Höglund
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to