[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66155] test suite should confirm functionality of pdftotext and pd
From: |
Sven Schober |
Subject: |
[bug #66155] test suite should confirm functionality of pdftotext and pdfimages |
Date: |
Mon, 2 Sep 2024 14:19:56 -0400 (EDT) |
Follow-up Comment #2, bug #66155 (group groff):
Concerning pdfimages and the mom test:
the poppler version emits:
pdfimages -list contrib/mom/examples/typesetting.pdf
page num type width height color comp bpc enc interp object ID x-ppi
y-ppi size ratio
--------------------------------------------------------------------------------------------
3 0 image 81 96 rgb 3 8 image no 13 0 72
72 7826B 34%
3 1 smask 81 96 gray 1 8 image no 13 0 72
72 125B 1.6%
the xpdf version emits a much more terse output on the same file:
pdfimages -list contrib/mom/examples/typesetting.pdf 1
1-0000.ppm: page=3 width=81 height=96 hdpi=72.00 vdpi=72.00
colorspace=DeviceRGB bpc=8
1-0001.pgm: page=3 width=81 height=96 hdpi=72.00 vdpi=72.00
colorspace=DeviceGray bpc=8
in the patch, I attached, I try to cater for this difference.
Concerning pdftottext and the ur-works test
the situation for pdftotext is a bit more involved as the version from
xpdfreader.com does not support reading from stdin. so, I redirect the output
into a temporary file and read from there.
(file #56407)
_______________________________________________________
Additional Item Attachment:
File name: 0001-there-are-at-least-two-different-implementation-vari.patch
Size: 3KiB
<https://file.savannah.gnu.org/file/0001-there-are-at-least-two-different-implementation-vari.patch?file_id=56407>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-5e9d3afb201ba15d98acf9b9616208ddbe31e737.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66155>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature