tree_magic icon indicating copy to clipboard operation
tree_magic copied to clipboard

tree_magic misidentifies some pdfs as text/x-tex

Open compenguy opened this issue 8 years ago • 1 comments

Attached is minimal.pdf, which tree_magic 0.2.0 misidentifies as text/x-tex, when application/pdf is expected.

Unix "file" command, as tested on Ubuntu, correctly identifies it as "PDF document, version 1.1".

compenguy avatar Oct 04 '17 03:10 compenguy

I got minimal.pdf from this site, which documents in detail the structure of their minimal pdf.

compenguy avatar Oct 04 '17 04:10 compenguy