PDFRenderer

Differences between revisions 3 and 4
Revision 3 as of 2013-05-17 13:04:43
Size: 1831
Editor: mitya57
Comment: Add note that upstream maintainer is friendly to Ubuntu
Revision 4 as of 2013-05-17 13:38:17
Size: 1904
Editor: static-108-0-26-46
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
   * Err, have you done any checking, Poppler supports this since ages.

This page is to discuss the selection of a PDF renderer for Ubuntu Touch.

One important part to make printing on mobile devices work is a PDF renderer/rasterizer and in addition, it is also needed for displaying PDF files on the screen. As resources on mobile devices are limited, there should be once only one PDF renderer on the system, for both printing and screen display and the one PDF renderer should not be too resource-hungry.

Candidates are Poppler, which was used as screen displayer on the standard desktop all the time and MuPDF, a lightweight renderer from the upstream developers of Ghostscript, who are experts in printing and color management.

Ghostscript is too resource-consuming, is centered in the PostScript interpreter which we do not need here (all apps are new and so we can let them all send PDF when it comes to printing), and its PDF interpreter is mostly written in PostScript, so Ghostscript is not the right thing for mobile and we will not treat it further here.

Blueprint

Advantages MuPDF:

  • Probably more lightweight as it is developed with low resource consumption in mind
  • Filling forms and saving the file with the filled form content works, no other free PDF software is capable of this
    • Err, have you done any checking, Poppler supports this since ages.
  • Written by the printing-oriented Ghostscript developers, so better quality for printing expected

Advantages Poppler:

  • In use for much longer time than MuPDF, so probably less problems of the "File XXX does not display" kind.
  • Upstream maintainer is friendly to Ubuntu (and Canonical employee).

Please post your ideas here.

Touch/PDFRenderer (last edited 2013-05-29 17:13:37 by p5DDBAD3F)