Skip to content

Commit b585937

Browse files
committed
chore: remove redundant word in comment
Signed-off-by: studystill <chenghuiyue@outlook.com>
1 parent d97b653 commit b585937

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/type1_parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const COMMAND_MAP = {
4141
};
4242

4343
/**
44-
* CharStrings are encoded following the the CharString Encoding sequence
44+
* CharStrings are encoded following the CharString Encoding sequence
4545
* describe in Chapter 6 of the "Adobe Type1 Font Format" specification.
4646
* The value in a byte indicates a command, a number, or subsequent bytes
4747
* that are to be interpreted in a special way.

src/display/editor/stamp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ class StampEditor extends AnnotationEditor {
425425
width > MAX_RATIO * pageWidth ||
426426
height > MAX_RATIO * pageHeight
427427
) {
428-
// If the the image is too big compared to the page dimensions
428+
// If the image is too big compared to the page dimensions
429429
// (more than MAX_RATIO) then we scale it down.
430430
const factor = Math.min(
431431
(MAX_RATIO * pageWidth) / width,

0 commit comments

Comments
 (0)