Fix typos
parent
3068dcdb4a
commit
5ddbecb551
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
|||
## Makefile (for maintainance purpose)
|
||||
## Makefile (for maintenance purpose)
|
||||
##
|
||||
|
||||
PACKAGE=pdfminer
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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.
|
||||
"""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue