Merge pull request #149 from jwilk/spelling

Fix typos
pull/55/head
Yusuke Shinyama 2016-09-14 13:44:11 +09:00 committed by GitHub
commit 44977b6726
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
## Makefile (for maintainance purpose)
## Makefile (for maintenance purpose)
##
PACKAGE=pdfminer

View File

@ -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

View File

@ -185,7 +185,7 @@ class TextConverter(PDFConverter):
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:

View File

@ -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):

View File

@ -247,7 +247,7 @@ class PSBaseParser(object):
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.
"""

View File

@ -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: