- # We specify -s here to explicitly exclue SF_Opaque for single-color
+ # We specify -s here to explicitly exclude SF_Opaque for single-color
# images.
# !! do we need /ImageMask parsing if we exclude SF_Mask here as well?
# Original sam2p order: Opaque:Transparent:Gray1:Indexed1:Mask:Gray2:Indexed2:Rgb1:Gray4:Indexed4:Rgb2:Gray8:Indexed8:Rgb4:Rgb8:Transparent2:Transparent4:Transparent8
@@ -5184,7 +5194,7 @@
A new dict mapping object numbers to PdfObj instances.
"""
# List of list of desc ([obj_num, head_minus, stream, refs_to,
- # inrefs_count]). Each list of eqclasses is an eqivalence class of
+ # inrefs_count]). Each list of eqclasses is an equivalence class of
# object descs.
eqclasses = []
# Maps object numbers to an element of eqclasses.
@@ -5415,10 +5425,10 @@
match = PdfObj.PDF_VERSION_HEADER_RE.match(data)
if not match:
- raise PdfTokenParseError('uncrecognized PDF signature %r' % data[0: 16])
+ raise PdfTokenParseError('unrecognized PDF signature %r' % data[0: 16])
version = match.group(1)
- # We set startxref ofs if avaialable. It is not an error not to have it
+ # We set startxref ofs if available. It is not an error not to have it