uikit0 / diff-pdf Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vslavik/diff-pdf
A simple tool for visually comparing two PDF files
Home Page: http://vslavik.github.io/diff-pdf
License: GNU General Public License v2.0
This project forked from vslavik/diff-pdf
A simple tool for visually comparing two PDF files
Home Page: http://vslavik.github.io/diff-pdf
License: GNU General Public License v2.0
0. Usage ============ diff-pdf is a tool for visually comparing two PDFs. It takes two PDF files as arguments. By default, its only output is its return code, which is 0 if there are no differences and 1 if the two PDFs differ. If given the --output-diff option, it produces a PDF file with visually highlighted differences: $ diff-pdf --output-diff=diff.pdf a.pdf b.pdf Another option is to compare the two files visually in a simple GUI, using the --view argument: $ diff-pdf --view a.pdf b.pdf This opens a window that lets you view the files' pages and zoom in on details. It is also possible to shift the two pages relatively to each other using Ctrl-arrows. This is useful for identifying translation-only differences. See the output of `diff-pdf --help` for complete list of options. 1. Obtaining the binaries ============================= Precompiled version of the tool for Windows is available from http://www.tt-solutions.com/downloads/diff-pdf-2012-02-28.zip -- the ZIP archive contains everything you need to run diff-pdf. It will work from any place you with unpack it to. Precompiled version for openSUSE and Fedora can be downloaded from the openSUSE build service. http://software.opensuse.org 2. Compiling from sources ============================= The build system uses Automake and so a Unix or Unix-like environment (Cygwin or MSYS) is required. Compilation is done in the usual way: $ ./bootstrap $ ./configure $ make $ make install (Note that the first step, running the ./bootstrap script, is only required when building sources checked from version control system, i.e. when configure and Makefile.in files are missing.) As for dependencies, diff-pdf requires the following libraries: * wxWidgets >= 2.8.11 * Cairo >= 1.4 * Poppler >= 0.10 CentOS: * sudo yum groupinstall "Development Tools" * sudo yum install wxGTK wxGTK-devel poppler-glib poppler-glib-devel Ubuntu: * sudo apt-get install make automake g++ * sudo apt-get install libpoppler-glib-dev poppler-utils wxgtk2.8-dev Note that many more libraries are required on Windows, where none of the libraries Cairo and Poppler use are normally available. At the time of writing, transitive cover of the above dependencies included fontconfig, freetype, glib, libpng, pixman, gettext, libiconv, libjpeg and zlib. Precompiled version of the dependencies for Windows, built with MinGW, are available from http://github.com/vslavik/diff-pdf/downloads (wxWidgets is not included, as it supports MinGW well). 1.1. Compiling on Windows using MinGW ----------------------------------------- 1. First of all, you will need working MinGW installation with MSYS environment and C++ compiler. The instructions on installing MinGW can be found here: http://www.mingw.org/wiki/Getting_Started 2. Once installed, launch the MinGW Shell tool. It will open a terminal window; type "cd /c/directory/with/diff-pdf" to do to the directory with diff-pdf sources. 3. You will need to install additional MinGW components that are not normally included with MinGW, using these commands: mingw-get install msys-wget mingw-get install msys-unzip mingw-get install msys-perl 4. It's time to build the software now. Type make -f Makefile.mingw and give it some time to finish. Note that this step requires Internet connectivity, as it downloads some dependencies packages. 5. If everything went well, diff-pdf is now in the mingw\Products\ directory. 3. Installing ================= On Unix, the usual `make install` is sufficient. On Windows, installation is not necessary, just copy the files somewhere. If you built it following the instructions above, all the necessary files will be in the mingw\Products\ directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.