Log In | Sign Up   View a printable version of the current page.
  Dashboard > [fleXive] > ... > How-Tos > Choosing the PDF renderer to use

Added by Markus Plesser, last edited by Markus Plesser on Mar 18, 2010
Labels: 
(None)

How to choose a different PDF renderer

When a PDF document is uploaded to [fleXive], a preview image of the first page is generated.
[fleXive] comes with two implementations of PDF renderers:

Each of these renderers has its pro's and con's:
PDFRenderer has better font support but chokes on some PDF's
ICEpdf comes with a good font engine only in the commercial version and chokes on images with JPEG2000 compression

The default renderer is currently set to ICEpdf but by adapting the script BinaryProcessor_Documents.gy in the backend administration program the renderer to use can be configured. It is also possible to use PDFRenderer and if it fails to fall back to ICEpdf:

BinaryProcessor_Documents.gy around line #50
// check which renderer to use, if both are active PDFRenderer will be used first and 
// ICEpdf as fallback in case of errors
boolean usePDFRenderer = false
boolean useICEpdf = true
Site running on a free Atlassian Confluence Open Source Project License granted to [fleXive] . Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators