Bug 21515 - Fail to open with JBIG2Decode (says 0 pages), KPDF opens it.
Summary: Fail to open with JBIG2Decode (says 0 pages), KPDF opens it.
Status: RESOLVED WORKSFORME
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 16:27 UTC by glen herrmannsfeldt
Modified: 2009-05-06 02:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description glen herrmannsfeldt 2009-05-01 16:27:21 UTC
%PDF-1.4
3     0 obj
<</Type /Page /Parent 2 0 R /MediaBox [0 0  52   66]
/Resources <</XObject <</Im0000    5 0 R>> >>/Contents    4 0 R>>
endobj
4     0 obj
<</Length   42>>
stream
   52 0 0    66    0    0 cm
q /Im0000 Do Q
endstream
endobj
5 0 obj
    << /Type /XObject
       /Subtype /Image
       /Name /Im0000
       /Width 52
       /Height 66
       /ColorSpace /DeviceGray
       /BitsPerComponent 1
       /Length 224
       /Filter [/ASCIIHexDecode /JBIG2Decode]
       /DecodeParms [null << /JBIG2Globals 6 0 R >>]
    >>
stream
000000013000010000001300000034000000420000000000
00000040000000000002062000010000001e000000340000
004200000000000000000200100000000231db51ce51ffac>
endstream
endobj
6 0 obj
    << /Length 126
       /Filter /ASCIIHexDecode
    >>
stream
0000000000010000000032000003fffdff02fefefe000000
01000000012ae225aea9a5a538b4d9999c5c8e56ef0f872
7f2b53d4e37ef795cc5506dffac >
endstream
endobj
1 0 obj
<</Type /Catalog /Pages 2 0 R >>
endobj
2 0 obj
<</Type /Pages /Count    1 /Kids [ 3 0 R ]>>
endobj
xref
0 7
0000000000 65535 f
0000000922 00000 n
0000000970 00000 n
0000000009 00000 n
0000000147 00000 n
0000000242 00000 n
0000000706 00000 n
trailer
<</Size    7 /Root 1 0 R>>
startxref
1030
%%EOF
Comment 1 glen herrmannsfeldt 2009-05-01 16:28:32 UTC
I believe this is legal PDF, but I could be wrong.  Most of it is the sample
JBIG2 code from the PDF1.5 manual.
Comment 2 Albert Astals Cid 2009-05-02 04:27:25 UTC
Works here, which poppler version are you using?
Comment 3 glen herrmannsfeldt 2009-05-06 02:45:58 UTC
(In reply to comment #2)
> Works here, which poppler version are you using?


It works here now, too!

I was changing the file and reloading it.  I wonder if
it wasn't actually reloading the file but reading it from cache.

I was trying to figure out why it didn't work so I printed it,
not realizing that the print server recognized postscript.

Then I tried it with KPDF, and it worked there, too,
but not with Evince until now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.