diff --git a/Makefile b/Makefile index 4e20d5d..47985da 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,11 @@ cdbcmap: CMap -mkdir CDBCMap $(CONV_CMAP) CMap/* -samples: +test: cd samples && make clean: - cd pdfminer && make clean + cd pdflib && make clean cd tools && make clean cd samples && make clean diff --git a/README.html b/README.html index 5f9cec9..a5f4779 100644 --- a/README.html +++ b/README.html @@ -11,7 +11,7 @@ blockquote { background: #eeeeee; }

PDFMiner

-Last Modified: Sun Jun 29 11:34:38 JST 2008 +Last Modified: Sun Jun 29 17:53:42 JST 2008
@@ -45,8 +45,8 @@ http://www.unixuser.org/~euske/python/pdfminer/index.html

Download (source):
- -http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080429.tar.gz + +http://www.unixuser.org/~euske/python/pdfminer/pdfminer-dist-20080629.tar.gz (1.8Mbytes) @@ -66,12 +66,10 @@ http://pdfminerr.googlecode.com/svn/

  • Go to the pdfminer directory.
  • Do the following test:
    -$ python pdf2txt.py samples/simple1.pdf
    -<document>
    -<page id="0" bbox="0,0,612,792" rotate="0">
    -<text x="100.000" y="100.000" font="Helvetica" size="24.000" width="137.352"> Hello World </text>
    +$ python -m tools.pdf2txt samples/simple1.pdf
    +<page id="0" bbox="0.000,0.000,612.000,792.000" rotate="0">
    +<text font="Helvetica" direction="1" bbox="100.000,695.032,237.352,719.032" fontsize="24.000"> Hello World </text>
     </page>
    -</document>
     
  • Done! diff --git a/samples/Makefile b/samples/Makefile index bde7570..757137c 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -1,6 +1,7 @@ # GNUMakefile for test PYTHON=python +CDBCMAPDIR=../CDBCMap PDF2TXT=PYTHONPATH=.. $(PYTHON) -m tools.pdf2txt HTMLS= \ @@ -21,4 +22,4 @@ clean: .SUFFIXES: .pdf .html .pdf.html: - $(PDF2TXT) -H -o $@ $< + $(PDF2TXT) -D$(CDBCMAPDIR) -H -o $@ $<