Comment 5 for bug 174751

Revision history for this message
François GUÉRIN (frague) wrote :

Hi all,

I've received by mail a PDF compresssed as an hqx file (prefix "(This file must be converted with BinHex 4.0)").

I've used ZigZag to extract it, I've a good old pdf file, working perfectly.

I've installed macutils, to try to extract it without wine, the file can be extracted, but not read with evince.
File converted with ZigZag : file.pdf
File converted with binhex : file.pdf.bin

I've done
$ less fichier.pdf.bin

^@^RDevis_02N26403.pdf^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@pdf CARO^@^@^@^@^@^@^@^@^@^@^@^A<83><F9>^@^@
^@^@ǡ<A7>-ǡ<A7>-^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@%PDF-1.3
%<C4><E5><F2><E5><EB><A7><F3><A0><D0><C4><C6>
2 0 obj
<< /Length 1 0 R /Filter /FlateDecode >>
... (it's just the file start)

$ var file.pdf | less
%PDF-1.3
%<C4><E5><F2><E5><EB><A7><F3><A0><D0><C4><C6>
2 0 obj
<< /Length 1 0 R /Filter /FlateDecode >>

As you can see, the "standart" pdf header is not respected, and some "noise" is added by hexbin on top of the file.

I use actualy a Karmic 64, sorry for my poor english...

François GUÉRIN