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 and liborm85 committed Dec 21, 2023
1 parent f6b8962 commit 55b45df
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 @@ -78,7 +78,7 @@ function drawDecoration(group, x, y, pdfKitDoc) {
y += lineAscent - (ascent * 0.25);
break;
default:
throw 'Unkown decoration : ' + group.decoration;
throw 'Unknown decoration : ' + group.decoration;
}
pdfKitDoc.save();

Expand Down

0 comments on commit 55b45df

Please sign in to comment.