You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still working on a web app project to add signatures to PDFs
for the backend I use pdf-lib
for the frontend I use pdf.js by mozilla to display the pdf, and interact.js to move the signature image
I have a problem with the pdf-lib coordinates in placing the signature image in the pdf
I have read several issues and already know that x y in pdf-lib uses 1\72 inch units
then I tried using 1/72 inch units in the CSS in interact.js
but when I use it in pdf-lib, the units in the css don't match the units in pdf-lib
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm still working on a web app project to add signatures to PDFs
for the backend I use pdf-lib
for the frontend I use pdf.js by mozilla to display the pdf, and interact.js to move the signature image
I have a problem with the pdf-lib coordinates in placing the signature image in the pdf
I have read several issues and already know that x y in pdf-lib uses 1\72 inch units
then I tried using 1/72 inch units in the CSS in interact.js
but when I use it in pdf-lib, the units in the css don't match the units in pdf-lib
any ideas?
Beta Was this translation helpful? Give feedback.
All reactions