Skip to content

Commit

Permalink
Merge pull request #431 from stingelin/patch-1
Browse files Browse the repository at this point in the history
fix: font ref
  • Loading branch information
schoero committed Feb 26, 2024
2 parents eb59618 + e97c227 commit 5438cfc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/how-to-create-a-complete-qr-bill.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const table = new Table({
width: mm2pt(30)
}
],
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
height: 20,
padding: 5,
textColor: "#fff",
Expand Down Expand Up @@ -278,10 +278,10 @@ const table = new Table({
text: "",
width: mm2pt(20)
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "Summe"
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "CHF 2'420.00",
width: mm2pt(30)
}
Expand Down Expand Up @@ -329,10 +329,10 @@ const table = new Table({
text: "",
width: mm2pt(20)
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "Rechnungstotal"
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "CHF 2'606.35",
width: mm2pt(30)
}
Expand Down
10 changes: 5 additions & 5 deletions examples/how-to-create-a-complete-qr-bill/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const table = new Table({
width: mm2pt(30)
}
],
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
height: 20,
padding: 5,
textColor: "#fff",
Expand Down Expand Up @@ -155,10 +155,10 @@ const table = new Table({
text: "",
width: mm2pt(20)
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "Summe"
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "CHF 2'420.00",
width: mm2pt(30)
}
Expand Down Expand Up @@ -206,10 +206,10 @@ const table = new Table({
text: "",
width: mm2pt(20)
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "Rechnungstotal"
}, {
font: "Helvetica-Bold",
fontName: "Helvetica-Bold",
text: "CHF 2'606.35",
width: mm2pt(30)
}
Expand Down

0 comments on commit 5438cfc

Please sign in to comment.