Skip to content

Commit 5ddbecb

Browse files
committed
Fix typos
1 parent 3068dcd commit 5ddbecb

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Makefile (for maintainance purpose)
1+
## Makefile (for maintenance purpose)
22
##
33

44
PACKAGE=pdfminer

cmaprsrc/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ to decode text data written in CJK (Chinese, Japanese, Korean) language.
55
CMap resources are now available freely from Adobe web site:
66
http://opensource.adobe.com/wiki/display/cmap/CMap+Resources
77

8-
The follwing files were extracted from the downloadable tarballs:
8+
The following files were extracted from the downloadable tarballs:
99

1010
cid2code_Adobe_CNS1.txt:
1111
http://download.macromedia.com/pub/opensource/cmap/cmapresources_cns1-6.tar.z

pdfminer/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def render(item):
185185
return
186186

187187
# Some dummy functions to save memory/CPU when all that is wanted
188-
# is text. This stops all the image and drawing ouput from being
188+
# is text. This stops all the image and drawing output from being
189189
# recorded and taking up RAM.
190190
def render_image(self, name, stream):
191191
if self.imagewriter is None:

pdfminer/pdftypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def decipher_all(decipher, objid, genno, x):
110110
return x
111111

112112

113-
# Type cheking
113+
# Type checking
114114
def int_value(x):
115115
x = resolve1(x)
116116
if not isinstance(x, int):

pdfminer/psparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def nextline(self):
247247
return (linepos, linebuf)
248248

249249
def revreadlines(self):
250-
"""Fetches a next line backword.
250+
"""Fetches a next line backward.
251251
252252
This is used to locate the trailers at the end of a file.
253253
"""

tools/pdf2html.cgi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class WebApp(object):
197197
convert(item.file, self.outfp, tmppath, pagenos=pagenos, codec=self.codec,
198198
maxpages=self.MAXPAGES, maxfilesize=self.MAXFILESIZE, html=html)
199199
except Exception, e:
200-
self.put('<p>Sorry, an error has occured: %s' % q(repr(e)))
200+
self.put('<p>Sorry, an error has occurred: %s' % q(repr(e)))
201201
self.logger.error('convert: %r: path=%r: %s' % (e, traceback.format_exc()))
202202
finally:
203203
try:

0 commit comments

Comments
 (0)