[Poppler-bugs] [Bug 44085] pdfinfo/pdffonts cannot process >2GB files
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 16 18:56:32 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=44085
--- Comment #8 from Adrian Johnson <ajohnson at redneon.com> ---
I started working on some patches to fix this. I used the method in comment 6
to create a test file. I used dd if=/dev/urandom bs=1M count=400 of=x.avi to
create the avi files. This gave me a 2.8GB pdf file.
I also tried using single 2.5GB avi file but there seems to be a bug in
pdflatex or movie15. It is using signed 32-bits for the stream length so it
wrote a pdf with a negative stream length for the avi file.
With the patches, pdfinfo, pdffonts, pdftoppm, and pdftocairo (image output
only) are working with the 2.8GB test file. I need to do more testing of the
patches before they are ready. Some of the things I have not yet looked at are:
- pdftops, pdfimages, pdfunit, and pdfseparate
- testing on a 32-bit machine
- try to create more interesting >2GB files for testing
- reg testing of < 2GB pdfs
I'm attaching the current version of my patches. It would be great to get some
feedback on the patches before I spend a lot of time on testing.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121217/e0544af6/attachment.html>
More information about the Poppler-bugs
mailing list