Poppler-0.47.0
      
      
        
          Introduction to Poppler
        
        
          The Poppler package contains a PDF
          rendering library and command line tools used to manipulate PDF
          files. This is useful for providing PDF rendering functionality as
          a shared library.
        
        
          This package is known to build and work properly using an LFS-7.10
          platform.
        
        
          Package Information
        
        
        
          Additional Downloads
        
        
        
          The additional package consists of encoding files for use with
          Poppler. The encoding files are
          optional and Poppler will
          automatically read them if they are present. When installed, they
          enable Poppler to render CJK and
          Cyrillic properly.
        
        
          Poppler Dependencies
        
        
          Required
        
        
          Fontconfig-2.12.1
        
        
          Recommended
        
        
          Cairo-1.14.6, libjpeg-turbo-1.5.0,
          libpng-1.6.24, NSS-3.26, and OpenJPEG-1.5.2
        
        
          Optional
        
        
          cURL-7.50.1, gobject-introspection-1.48.0,
          GTK-Doc-1.25, GTK+-2.24.30, Little CMS-1.19
          or Little
          CMS-2.8, LibTIFF-4.0.6, OpenJPEG-2.1.1
          (preference is for OpenJPEG1, due to regressions with OpenJPEG2),
          and Qt-5.7.0
        
        
          User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/poppler
        
       
      
        
          Installation of Poppler
        
        
          ![[Note]](../images/note.png) 
          
            Note
          
          
            This package can be optionally built with support for only one
            version of Qt4 or Qt5 or without any Qt support. You can
            selectively disable support for one or both, see "Command
            Explanations" section, below.
          
         
        
          Install Poppler by running the
          following commands:
        
        
./configure --prefix=/usr               \
            --sysconfdir=/etc           \
            --disable-static            \
            --enable-build-type=release \
            --enable-cmyk               \
            --enable-xpdf-headers       \
            --with-testdatadir=$PWD/testfiles &&
make
        
          In order to run the test suite, some testcases are needed and can
          be obtained only from a git repository. The command to download
          them is: git clone
          git://git.freedesktop.org/git/poppler/test
          testfiles. Then issue: LC_ALL=en_US.UTF-8 make check. It
          seems that only the Qt4/5 libraries are tested.
        
        
          Now, as the root user:
        
        
make install
        
          To install the documentation, run the following commands as
          root:
        
        
install -v -m755 -d        /usr/share/doc/poppler-0.47.0 &&
install -v -m644 README*   /usr/share/doc/poppler-0.47.0 &&
cp -vr glib/reference/html /usr/share/doc/poppler-0.47.0
        
          Poppler Data
        
        
          If you downloaded the additional encoding data package, install it
          by issuing the following commands as the root user:
        
        
tar -xf ../poppler-data-0.4.7.tar.gz &&
cd poppler-data-0.4.7
        
          Now, as the root user:
        
        
make prefix=/usr install
       
      
        
          Command Explanations
        
        
          --enable-build-type=release: This
          switch is used to apply a higher level of compiler optimizations.
          Other options are: [relwithdebinfo/debug/debugfull/profile]
        
        
          --enable-cmyk: Include
          support for CMYK rasterization.
        
        
          --disable-static: This
          switch prevents installation of static versions of the libraries.
        
        
          --enable-xpdf-headers:
          Install some old Xpdf headers
          required by certain programs (e.g. Okular, LibreOffice and Inkscape).
        
        
          --with-testdatadir=$PWD/testfiles:
          Tell the test programs where the auxiliary files are located.
        
        
          --enable-libcurl: Use libcurl for HTTP
          support.
        
        
          --enable-gtk-doc: Use this parameter if
          GTK-Doc is installed and you wish
          to rebuild and install the API documentation.
        
        
          --disable-poppler-qt4: Don't compile
          poppler Qt4 wrapper.
        
        
          --disable-poppler-qt5: Don't compile
          poppler Qt5 wrapper.
        
        
          LC_ALL=en_US.UTF-8 make
          check: Run the test suite. The environment variable
          LC_ALL=en_US.UTF-8 is only needed if the default locale does not
          include UTF-8.
        
       
      
        
          Contents
        
        
          
            
              Installed Programs:
              pdfdetach, pdffonts, pdfimages, pdfinfo,
              pdfseparate, pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops,
              pdftotext, pdfunite, and poppler-glib-demo
            
            
              Installed Libraries:
              libpoppler.so, libpoppler-cpp.so,
              libpoppler-glib.so, and libpoppler-qt5.so
            
            
              Installed Directories:
              /usr/{include,share,share/gtk-doc/html}/poppler and
              /usr/share/doc/poppler-0.47.0
            
           
         
        
          
            Short Descriptions
          
          
            
            
              
                | 
                    pdfdetach
                   | 
                    lists or extracts embedded files from PDF files.
                   | 
              
                | 
                    pdffonts
                   | 
                    lists the fonts used in a PDF file along with various
                    information for each font.
                   | 
              
                | 
                    pdfimages
                   | 
                    saves images from a PDF file as PPM, PBM, or JPEG files.
                   | 
              
                | 
                    pdfinfo
                   | 
                    prints the contents of the 'Info' dictionary (plus some
                    other useful information) from a PDF file.
                   | 
              
                | 
                    pdfseparate
                   | 
                    extracts single pages from a PDF file.
                   | 
              
                | 
                    pdfsig
                   | 
                    verifies the digital signatures in a PDF document.
                   | 
              
                | 
                    pdftocairo
                   | 
                    converts a PDF file to one of several formats (PNG, JPEG,
                    PDF, PS, EPS, SVG) using the cairo output device of the
                    poppler library.
                   | 
              
                | 
                    pdftohtml
                   | 
                    converts a PDF file to HTML.
                   | 
              
                | 
                    pdftoppm
                   | 
                    converts PDF files to PBM, PGM and PPM formats.
                   | 
              
                | 
                    pdftops
                   | 
                    converts PDF files to Postscript format.
                   | 
              
                | 
                    pdftotext
                   | 
                    converts PDF files to plain text.
                   | 
              
                | 
                    pdfunite
                   | 
                    merges several PDF files, in the order of their
                    occurrence on the command line, to one PDF output file.
                   | 
              
                | 
                    poppler-glib-demo
                   | 
                    is a tool to demonstrate the API, and for use when
                    debugging and testing Poppler.
                   | 
              
                | 
                    libpoppler.so | 
                    contains the API functions to render PDF files.
                   | 
              
                | 
                    libpoppler-cpp.so | 
                    is a C++ backend for rendering PDF files.
                   | 
              
                | 
                    libpoppler-glib.so | 
                    is a wrapper library used to interface the PDF rendering
                    functions with GTK+.
                   | 
              
                | 
                    libpoppler-qt5.so | 
                    is a wrapper library used to interface the PDF rendering
                    functions with Qt5.
                   | 
            
          
         
       
      
        Last updated on 2016-08-28 16:56:06 -0700