release-20091129

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@160 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2009-11-29 07:17:36 +00:00
parent 2af8eeb3e7
commit 4d905b81b7
3 changed files with 8 additions and 7 deletions

View File

@ -19,7 +19,7 @@ Python PDF parser and analyzer
<div align=right class=lastmod> <div align=right class=lastmod>
<!-- hhmts start --> <!-- hhmts start -->
Last Modified: Fri Nov 13 19:12:36 JST 2009 Last Modified: Sun Nov 29 16:16:28 JST 2009
<!-- hhmts end --> <!-- hhmts end -->
</div> </div>
@ -66,8 +66,7 @@ PDF parser that can be used for other purposes instead of text analysis.
<a name="source"></a> <a name="source"></a>
<p> <p>
<strong>Download:</strong><br> <strong>Download:</strong><br>
<a href="http://www.unixuser.org/~euske/python/pdfminer/pdfminer-20091024.tar.gz"> <a href="http://pypi.python.org/packages/source/p/pdfminer/pdfminer-20091129.tar.gz">pdfminer-20091129.tar.gz</a>
http://www.unixuser.org/~euske/python/pdfminer/pdfminer-20091024.tar.gz
</a> </a>
(1.8Mbytes) (1.8Mbytes)
@ -347,7 +346,8 @@ no stream header is displayed for the ease of saving it to a file.
<hr noshade> <hr noshade>
<h2>TODOs</h2> <h2>TODOs</h2>
<ul> <ul>
<li> PEP-8 conformance. <li> <A href="http://www.python.org/dev/peps/pep-0008/">PEP-8</a> and
<a href="http://www.python.org/dev/peps/pep-0257/">PEP-257</a> conformance.
<li> Better text extraction / layout analysis. <li> Better text extraction / layout analysis.
<li> Better API Documentation. <li> Better API Documentation.
<li> Robust error handling. <li> Robust error handling.
@ -357,7 +357,8 @@ no stream header is displayed for the ease of saving it to a file.
<hr noshade> <hr noshade>
<h2>Changes</h2> <h2>Changes</h2>
<ul> <ul>
<li> 2009/11/xx: Password encryption bug fixed. Thanks to Yannick Gingras. <li> 2009/11/29: Password encryption bug fixed. Thanks to Yannick Gingras.
<li> 2009/10/31: SGML output format is changed and renamed as XML.
<li> 2009/10/24: Charspace bug fixed. Adjusted for 4-space indentation. <li> 2009/10/24: Charspace bug fixed. Adjusted for 4-space indentation.
<li> 2009/10/04: Another matrix operation bug fixed. Thanks to Vitaly Sedelnik. <li> 2009/10/04: Another matrix operation bug fixed. Thanks to Vitaly Sedelnik.
<li> 2009/09/12: Fixed rectangle handling. Able to extract image boundaries. <li> 2009/09/12: Fixed rectangle handling. Able to extract image boundaries.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python
__version__ = '20091024' __version__ = '20091129'
if __name__ == '__main__': print __version__ if __name__ == '__main__': print __version__

View File

@ -37,7 +37,7 @@ class CMapError(Exception): pass
## ##
def find_cmap_path(): def find_cmap_path():
"""Returns the location of CMap directory.""" """Returns the location of CMap directory."""
for path in (os.environ['CMAP_PATH'], for path in (os.environ.get('CMAP_PATH', '.'),
os.path.join(os.path.dirname(__file__), 'CMap')): os.path.join(os.path.dirname(__file__), 'CMap')):
if os.path.isdir(path): if os.path.isdir(path):
return path return path