Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit 49f2c5c

Browse files
committed
Restore page margins constant
1 parent ec35445 commit 49f2c5c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/page.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*
2+
PDFPage - represents a single page in the PDF document
3+
By Devon Govett
4+
*/
5+
6+
const DEFAULT_MARGINS = {
7+
top: 72,
8+
left: 72,
9+
bottom: 72,
10+
right: 72
11+
};
12+
113
const SIZES = {
214
'4A0': [4767.87, 6740.79],
315
'2A0': [3370.39, 4767.87],

0 commit comments

Comments
 (0)