pdf-lib
pdf-lib copied to clipboard
Reopen #223 : Despite the explainations, the coordinates system really is wrong.
You can check this. You will see that the origin is correctly placed at the bottom-left of the page, but the y axis is not looking upwards as you can see in the example where you need to remove pageHeight to get the correct coordinates.
The coordinates in the usual page system should be calculated with: y => pageHeight - y and not y => y - pageHeight
I'll try to fix.