Skip to content

Commit

Permalink
fix: usage example fixed to use null in encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
4silvertooth committed Feb 16, 2021
1 parent 0ac1000 commit f3f6817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ event click $(button) {
page.setSize(page.SIZE_A4, page.PORTRAIT);
const h = page.getHeight();
const font = Doc.getFont("Helvetica", "");
const font = Doc.getFont("Helvetica", null);
page.setFontAndSize(font, 12);
page.beginText();
Expand Down Expand Up @@ -85,7 +85,7 @@ event click $(button) {
page.setSize(page.SIZE_A4, page.PORTRAIT);
const h = page.getHeight();
const font = Doc.getFont("Helvetica", "");
const font = Doc.getFont("Helvetica", null);
page.setFontAndSize(font, 12);
page.beginText();
Expand Down

0 comments on commit f3f6817

Please sign in to comment.