boazsegev/combine_pdf

metrics for x/y coordinates

RailsCod3rFuture opened this issue · 2 comments

Hello, I am using GIMP for finding the coordinates on my pdf fields. Oddly, they're off by a large margin. Do you have a method or approach that gives you the exact position of a form element on the pdf?

Hi @RailsCod3rFuture ,

Thank you for opening this issue.

Just to make sure - are you aware that PDF XY coordinates start at the bottom left of the page and build up (unlike most graphical applications that list coordinates from the top left, building down)...?

Kindly,
Bo.

P.S.

Personally I perform dynamic computations for the X/Y coordinates according to my needs. This might waste CPU cycles (as the same computation its performed for each request), but it allows me to easily change the desired effect.

Alright. Thanks.