[poppler] Marked content, Gfx.cc

Albert Astals Cid aacid at kde.org
Tue Feb 9 13:11:53 PST 2010


A Dimarts, 9 de febrer de 2010, Nils Höglund va escriure:
> 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.

Do you have any pdf to reproduce the problem?

Albert

> 
> 
> Kind regards,
> 
> 
> Nils Höglund
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
> 


More information about the poppler mailing list