Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

tree_magic misidentifies some pdfs as text/x-tex #5

Open
compenguy opened this issue Oct 4, 2017 · 1 comment
Open

tree_magic misidentifies some pdfs as text/x-tex #5

compenguy opened this issue Oct 4, 2017 · 1 comment

Comments

@compenguy
Copy link

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant