[poppler] (off-topic) comparing the contents from two PDF documents

Albert Astals Cid aacid at kde.org
Thu Mar 4 12:46:31 PST 2010


A Dijous, 4 de març de 2010, Pablo Rodríguez va escriure:
> Hi there,
> 
> I would like to know whether there is an automatic way to compare the
> contents of two PDF documents.
> 
> I mean, the documents listed bellow are two PDF documents generated with
> XeLaTeX from the same TeX sources, using the 1.4 and 1.5 versions.
> 
> Each contains 1424 pages and it is not clear whether these documents
> have exactly the same page breaks (it shouldn't be different, but this
> might happen if there is a bug in XeTeX or xdvipdfmx).
> 
> Here are the links:
> 
>  http://users.ox.ac.uk/~rahtz/Guidelines_1.5.pdf
>  http://users.ox.ac.uk/~rahtz/Guidelines_1.4.pdf
> 
> Comparing the contents from both documents visually would be a crazy task.
> 
> Both documents are supposed to have exactly the same contents. Would it
> be a way to check automagically whether the contents from both documents
> differ or not?

pdftoppm and diff the results.

Albert

> 
> Thanks for your help,
> 
> 
> Pablo
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list