The content of this documentation refers to all the Nuxeo products and modules. You may want to check the Nuxeo Platform technical documentation, the Nuxeo Studio documentation, the Core Developer Guide, or the Administration Guide.
Contributors, don't hesitate to move pages in the relevant spaces
Skip to end of metadata
Go to start of metadata

The quality of the preview is dependant of a third-party library, pdftohtml, and it is important to upgrade your version to benefit from an optimal quality.

Most of Linux distributions uses version 0.36 of pdf2html (included in poppler-utils 0.12.4 for example) and you'll need to upgrade manually this library. Please follow the procedure below to achieve that:

  • check initial version, here on a Debian
    # pdftohtml -v
    pdftohtml version 0.12.4
    Copyright 2005-2009 The Poppler Developers - http://poppler.freedesktop.org
    Copyright 1999-2003 Gueorgui Ovtcharov and Rainer Dorsch
    Copyright 1996-2004 Glyph & Cog, LLC
    
  • Run make
  • DO NOT RUN ./Makefile
  • Copy src/pdftohtml dans /usr/bin/ to replace existing binaries
  • Check the final version
    # pdftohtml -v
    pdftohtml version 0.39 http://pdftohtml.sourceforge.net/, based on Xpdf version 3.00
    Copyright 1999-2003 Gueorgui Ovtcharov and Rainer Dorsch
    Copyright 1996-2004 Glyph & Cog, LLC
    

Now you can restart Nuxeo DM and try the preview on a document. The quality should be better, regardless of the document

Labels
  • None