diff --git a/README b/README deleted file mode 100644 index 202fe3b..0000000 --- a/README +++ /dev/null @@ -1,25 +0,0 @@ -Prerequisites: - -* poppler - - tested with v0.5.4 but other versions may work as well -* cairo - - tested with v1.2.6 and v1.4.10 but other versions may work as well - - -To make and install pdf2svg: - -1) Download pdf2svg-0.2.1.tar.gz and unpack -2) Change to the pdf2svg-0.2.1 directory -3) Do the normal ./configure && make && make install - - -Usage: - -pdf2svg [] - - -Copyright (C) 2007 David Barton (davebarton@cityinthesky.co.uk) - - -Copyright (C) 2007 Matthew Flaschen (matthew.flaschen@gatech.edu) -Updated to allow conversion of all pages at once. diff --git a/README.md b/README.md index 5d8bd58..e17f342 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Prerequisites: To make and install pdf2svg: -1) Download pdf2svg-0.2.1.tar.gz and unpack -2) Change to the pdf2svg-0.2.1 directory +1) Download pdf2svg-0.2.2.tar.gz and unpack +2) Change to the pdf2svg-0.2.2 directory 3) Do the normal ./configure && make && make install @@ -23,7 +23,7 @@ Usage: pdf2svg [] -Copyright (C) 2007 David Barton (davebarton@cityinthesky.co.uk) +Copyright (C) 2007-2013 David Barton (davebarton@cityinthesky.co.uk) Copyright (C) 2007 Matthew Flaschen (matthew.flaschen@gatech.edu) diff --git a/pdf2svg.c b/pdf2svg.c index 069d0d4..afc4c81 100644 --- a/pdf2svg.c +++ b/pdf2svg.c @@ -1,4 +1,4 @@ -// Copyright (C) 2007 David Barton (davebarton@cityinthesky.co.uk) +// Copyright (C) 2007-2013 David Barton (davebarton@cityinthesky.co.uk) // // Copyright (C) 2007 Matthew Flaschen (matthew.flaschen@gatech.edu) @@ -65,7 +65,7 @@ int convertPage(PopplerPage *page, const char* svgFilename) drawcontext = cairo_create(surface); // Render the PDF file into the SVG file - poppler_page_render(page, drawcontext); + poppler_page_render_for_printing(page, drawcontext); cairo_show_page(drawcontext); // Close the SVG file