pdf files and http_open

Josef Fydl <[email protected]> Tue, 13 May 2014 21:38:23 -0400
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Please help

I have SWI-Prolog (Multi-threaded, 64 bits, Version 6.6.5 and I discovered problem

in bringing down pdf files
call is http_open(A, In, [status_code(Code),timeout(100)] )
where A is URL like http://www.whitehouse.gov/sites/default/files/jobs_act.pdf
it brings the file,which is not convertible by pdftotext it gives the lots of
Syntax Error: Embedded font file may be invalid
Syntax Error: Embedded font file may be invalid
Syntax Error: Embedded font file may be invalid
Syntax Error: Embedded font file may be invalid
Syntax Error: Embedded font file may be invalid
However if I bring the same URL by browser and save it is convertible
I attachment are both files bycrom is via browser byswi is via http open. I discovered it today, but remember
that it worked in last year in lower versions
Thanks Josef Frydl




-------------- next part --------------
HTML attachment scrubbed and removed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bychrom.pdf
Type: application/pdf
Size: 72353 bytes
Desc: not available
URL: <https://lists.iai.uni-bonn.de/pipermail/swi-prolog/attachments/20140513/18539164/attachment.pdf>
-------------- next part --------------
HTML attachment scrubbed and removed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: byswi.pdf
Type: application/pdf
Size: 104830 bytes
Desc: not available
URL: <https://lists.iai.uni-bonn.de/pipermail/swi-prolog/attachments/20140513/18539164/attachment-0001.pdf>
-------------- next part --------------
HTML attachment scrubbed and removed