From dd76945d60884635ccd40795f8b37c9488ee7bf1 Mon Sep 17 00:00:00 2001 From: Michael Justice Date: Thu, 21 Dec 2023 04:35:01 -0800 Subject: [PATCH] Fixed decorator error text Discovered and fixed a typo on unknown decoration --- src/TextDecorator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextDecorator.js b/src/TextDecorator.js index 79a70347f..00b66eec1 100644 --- a/src/TextDecorator.js +++ b/src/TextDecorator.js @@ -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();