Skip to content

Commit

Permalink
Fixed decorator error text
Browse files Browse the repository at this point in the history
Discovered and fixed a typo on unknown decoration
  • Loading branch information
M-A-Justice authored Dec 21, 2023
1 parent d9ee8d8 commit dd76945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextDecorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class TextDecorator {
y += lineAscent - (ascent * 0.25);
break;
default:
throw new Error(`Unkown decoration : ${group.decoration}`);
throw new Error(`Unknown decoration : ${group.decoration}`);
}
this.pdfDocument.save();

Expand Down

0 comments on commit dd76945

Please sign in to comment.