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

Pdf2txt xml coordinates #74

Open
MiguelCanto opened this issue Nov 4, 2014 · 1 comment
Open

Pdf2txt xml coordinates #74

MiguelCanto opened this issue Nov 4, 2014 · 1 comment

Comments

@MiguelCanto
Copy link

I can't relate the pdf2txt xml coordinates with any of the unit of mesurement i tried. Pixels, centimeters, milimeters, points... Any of them has sense... Which unit is pdf2txt using?

Thank you very much.

@euske
Copy link
Owner

euske commented Nov 6, 2014

According to PDF 32000-1, Section 8.3.2.3 "User Space", the default unit of PDF (with no scaling, etc.) is point, which is 1/72 inch. A typical size of an A4 paper is defined as 612 points by 792 points which is 8.5 x 11 inch.

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

2 participants