[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Sep 13, 2016
1 parent 3068dcd commit 5ddbecb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Makefile (for maintainance purpose)
## Makefile (for maintenance purpose)
##

PACKAGE=pdfminer
Expand Down
2 changes: 1 addition & 1 deletion cmaprsrc/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ to decode text data written in CJK (Chinese, Japanese, Korean) language.
CMap resources are now available freely from Adobe web site:
http://opensource.adobe.com/wiki/display/cmap/CMap+Resources

The follwing files were extracted from the downloadable tarballs:
The following files were extracted from the downloadable tarballs:

cid2code_Adobe_CNS1.txt:
http://download.macromedia.com/pub/opensource/cmap/cmapresources_cns1-6.tar.z
Expand Down
2 changes: 1 addition & 1 deletion pdfminer/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def render(item):
return

# Some dummy functions to save memory/CPU when all that is wanted
# is text. This stops all the image and drawing ouput from being
# is text. This stops all the image and drawing output from being
# recorded and taking up RAM.
def render_image(self, name, stream):
if self.imagewriter is None:
Expand Down
2 changes: 1 addition & 1 deletion pdfminer/pdftypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def decipher_all(decipher, objid, genno, x):
return x


# Type cheking
# Type checking
def int_value(x):
x = resolve1(x)
if not isinstance(x, int):
Expand Down
2 changes: 1 addition & 1 deletion pdfminer/psparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def nextline(self):
return (linepos, linebuf)

def revreadlines(self):
"""Fetches a next line backword.
"""Fetches a next line backward.
This is used to locate the trailers at the end of a file.
"""
Expand Down
2 changes: 1 addition & 1 deletion tools/pdf2html.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class WebApp(object):
convert(item.file, self.outfp, tmppath, pagenos=pagenos, codec=self.codec,
maxpages=self.MAXPAGES, maxfilesize=self.MAXFILESIZE, html=html)
except Exception, e:
self.put('<p>Sorry, an error has occured: %s' % q(repr(e)))
self.put('<p>Sorry, an error has occurred: %s' % q(repr(e)))
self.logger.error('convert: %r: path=%r: %s' % (e, traceback.format_exc()))
finally:
try:
Expand Down

0 comments on commit 5ddbecb

Please sign in to comment.