From b585937340677ec4ba7e29047a184622ac5d305e Mon Sep 17 00:00:00 2001 From: studystill Date: Fri, 16 May 2025 15:16:26 +0800 Subject: [PATCH] chore: remove redundant word in comment Signed-off-by: studystill --- src/core/type1_parser.js | 2 +- src/display/editor/stamp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/type1_parser.js b/src/core/type1_parser.js index 13d04396f..1d75e6e8f 100644 --- a/src/core/type1_parser.js +++ b/src/core/type1_parser.js @@ -41,7 +41,7 @@ const COMMAND_MAP = { }; /** - * CharStrings are encoded following the the CharString Encoding sequence + * CharStrings are encoded following the CharString Encoding sequence * describe in Chapter 6 of the "Adobe Type1 Font Format" specification. * The value in a byte indicates a command, a number, or subsequent bytes * that are to be interpreted in a special way. diff --git a/src/display/editor/stamp.js b/src/display/editor/stamp.js index b9416211c..5786faabb 100644 --- a/src/display/editor/stamp.js +++ b/src/display/editor/stamp.js @@ -425,7 +425,7 @@ class StampEditor extends AnnotationEditor { width > MAX_RATIO * pageWidth || height > MAX_RATIO * pageHeight ) { - // If the the image is too big compared to the page dimensions + // If the image is too big compared to the page dimensions // (more than MAX_RATIO) then we scale it down. const factor = Math.min( (MAX_RATIO * pageWidth) / width,