[tex-live] extractbb can not read the pdf file generated by mutool

ABE Noriyuki abenori at math.sci.hokudai.ac.jp
Sat Jan 2 15:46:44 CET 2016

Dear all,

For the pdf file made by mutool ( http://mupdf.com/ ), I get the 
following warning with extractbb.

extractbb:warning: Invalid xref table entry [0]. PDF file is corrupt...
extractbb:warning: Error while parsing PDF file.
extractbb:warning: test.pdf does not look like a PDF file...

The xref table in the pdf file is as follows and there is an empty line 
in front of the trailer. This is why extractbb fails.

0 5
0000000000 00001 f 
0000000018 00000 n 
0000000064 00000 n 
0000000116 00000 n 
0000003698 00000 n 

<</Size 5/Root 1 0 R>>

I wrote the attached patch and now it works well.

Noriyuki Abe

abenori at math.sci.hokudai.ac.jp
Department of Mathematics, Hokkaido University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texlive.patch
Type: application/octet-stream
Size: 2803 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20160102/fa3abfa6/attachment.obj>

More information about the tex-live mailing list