Skip to content

Commit

Permalink
Fixed rendering bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dawbarton committed Jul 18, 2013
1 parent 52e8b4d commit 9685498
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 30 deletions.
25 changes: 0 additions & 25 deletions README

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -23,7 +23,7 @@ Usage:
pdf2svg <input.pdf> <output.svg> [<page no of pdf or "all">]


Copyright (C) 2007 David Barton (davebarton@cityinthesky.co.uk)
Copyright (C) 2007-2013 David Barton (davebarton@cityinthesky.co.uk)
<http://www.cityinthesky.co.uk/>

Copyright (C) 2007 Matthew Flaschen (matthew.flaschen@gatech.edu)
Expand Down
4 changes: 2 additions & 2 deletions pdf2svg.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2007 David Barton (davebarton@cityinthesky.co.uk)
// Copyright (C) 2007-2013 David Barton (davebarton@cityinthesky.co.uk)
// <http://www.cityinthesky.co.uk/>

// Copyright (C) 2007 Matthew Flaschen (matthew.flaschen@gatech.edu)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9685498

Please sign in to comment.