cross-platform-pdf-generator
Advanced tools
Comparing version 1.1.9 to 1.2.0
{ | ||
"name": "cross-platform-pdf-generator", | ||
"version": "1.1.9", | ||
"version": "1.2.0", | ||
"description": "pulsation pdg generator for web and ios", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -56,2 +56,3 @@ import { PDFDocument, StandardFonts, rgb, PDFFont, PDFPage, PDFTextField } from 'pdf-lib'; | ||
const firstPage = pages[initInsets.page]; | ||
const { width, height } = firstPage.getSize() | ||
const form = pdfDoc.getForm(); | ||
@@ -66,3 +67,3 @@ const fields = form.getFields(); | ||
"page": 0, | ||
"y": box.origin.y | ||
"y": height - box.origin.y - box.size.height | ||
} | ||
@@ -69,0 +70,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67636
1590