documenso/packages/pdf
Mythie ee4ca018d8 fix: improve text insertion accuracy
Previous inserted text would appear a little off center from where the user had selected which could cause some frustration.

We improve upon this by updating the code responsible for centering the text to behave in a more accurate manner. From what I can tell it looks to be quite solid but could do with more rigorous testing with shorter and longer inputs.

You can see the improved accuracy in action here:

https://www.loom.com/share/1095fee7605c4790b8b30f573a04f0f0
2023-04-06 23:34:53 +10:00
..
index.ts 🚧 📑 pdf helpers, todos for signign 2023-02-18 14:37:26 +01:00
insertImageInPDF.ts 💄 signature drawing matching field 2023-03-07 17:12:24 +01:00
insertTextInPDF.ts fix: improve text insertion accuracy 2023-04-06 23:34:53 +10:00
package.json 🚧 📑 pdf helpers, todos for signign 2023-02-18 14:37:26 +01:00