如何在 node.js 中 fill/eliminate PDF 中的空格?
How to fill/eliminate white spaces in a PDF in node.js?
是否可以识别 PDF 文件中的空白 spots/free space 并用 https://www.npmjs.com/package/html-pdf 的 SVG、JPEG 或 PNG 图像填充它们?
我们找到了如何获取免费 space 如果它与 PhantomJS 一起位于页面末尾:
height = totalPageHeight - element.offsetTop - bottomMargin
是否可以识别 PDF 文件中的空白 spots/free space 并用 https://www.npmjs.com/package/html-pdf 的 SVG、JPEG 或 PNG 图像填充它们?
我们找到了如何获取免费 space 如果它与 PhantomJS 一起位于页面末尾:
height = totalPageHeight - element.offsetTop - bottomMargin