0

I need to get the size in pixels of a given string to properly center a text in a PDF generated with PDF-Lib. I've found some npm packages that can do the job, but does it exists some way to achieve with pure JS?

Danubio
  • 93
  • 8

0 Answers0