version bump

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@171 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2010-01-04 12:50:59 +00:00
parent ef93c4ee75
commit a63d0324ed
3 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ Python PDF parser and analyzer
<div align=right class=lastmod>
<!-- hhmts start -->
Last Modified: Fri Jan 1 12:04:47 JST 2010
Last Modified: Mon Jan 4 21:44:43 JST 2010
<!-- hhmts end -->
</div>
@ -341,6 +341,7 @@ no stream header is displayed for the ease of saving it to a file.
<hr noshade>
<h2>Changes</h2>
<ul>
<li> 2010/01/04: Python 2.6 warning removal. More doctest conversion.
<li> 2010/01/01: CMap bug fix. Thanks to Winfried Plappert.
<li> 2009/12/24: RunLengthDecode filter added. Thanks to Troy Bollinger.
<li> 2009/12/20: Experimental polygon shape extraction added. Thanks to Yusuf Dewaswala for reporting.

View File

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

View File

@ -111,7 +111,8 @@ class PDFPageAggregator(PDFTextDevice):
def paint_path(self, gstate, stroke, fill, evenodd, path):
shape = ''.join(x[0] for x in path)
if shape == 'ml': # horizontal/vertical line
if shape == 'ml':
# horizontal/vertical line
(_,x0,y0) = path[0]
(_,x1,y1) = path[1]
(x0,y0) = apply_matrix_pt(self.ctm, (x0,y0))