Merge pull request #19937 from studystill/master

chore: remove redundant word in comment
This commit is contained in:
Tim van der Meij 2025-05-17 13:34:39 +02:00 committed by GitHub
commit b05351ceae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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. * describe in Chapter 6 of the "Adobe Type1 Font Format" specification.
* The value in a byte indicates a command, a number, or subsequent bytes * The value in a byte indicates a command, a number, or subsequent bytes
* that are to be interpreted in a special way. * that are to be interpreted in a special way.

View File

@ -425,7 +425,7 @@ class StampEditor extends AnnotationEditor {
width > MAX_RATIO * pageWidth || width > MAX_RATIO * pageWidth ||
height > MAX_RATIO * pageHeight 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. // (more than MAX_RATIO) then we scale it down.
const factor = Math.min( const factor = Math.min(
(MAX_RATIO * pageWidth) / width, (MAX_RATIO * pageWidth) / width,