cantoo-scribe / pdf-lib

Create and modify PDF documents in any JavaScript environment
https://pdf-lib.js.org
MIT License
136 stars 27 forks source link

Fix runnersToPage to clear the text content before computing the text… #20

Closed MatheusrdSantos closed 1 year ago

MatheusrdSantos commented 1 year ago

This issue was happening when there was a '\n' characters on the text tag image

also, the text was drawn on the wrong place when there were spaces before the text.