diff --git a/blank.pdf b/blank.pdf index 92353b2..927e353 100644 Binary files a/blank.pdf and b/blank.pdf differ diff --git a/src/libclo/index.js b/src/libclo/index.js index 17b36b4..43e410c 100644 --- a/src/libclo/index.js +++ b/src/libclo/index.js @@ -373,7 +373,7 @@ class Clo { page.drawText('You can create PDFs!'); for (var j = 0; j < 1000; j += 5) { if (j % 50 == 0) { - page.drawText(i.toString(), { x: 50, y: j }); + page.drawText(j.toString(), { x: 50, y: j }); } page.drawLine({ start: { x: 0, y: j }, diff --git a/src/libclo/index.ts b/src/libclo/index.ts index bcd6a46..b9c3b09 100644 --- a/src/libclo/index.ts +++ b/src/libclo/index.ts @@ -457,7 +457,7 @@ export class Clo{ for (var j = 0; j<1000; j+=5){ if (j %50 == 0){ - page.drawText(i.toString(), {x: 50, y: j}); + page.drawText(j.toString(), {x: 50, y: j}); } page.drawLine({