Debian Codegraph @

README

raw
1 DiffPDF
2 ===========
3
4 DiffPDF is used to compare two PDF files.
5
6 By default the comparison is of the words on each pair of pages, but
7 comparing character by character is also supported (e.g., for
8 logographic languages). And there's also support for comparing the pages
9 by appearance (for example, if a diagram is changed or if a paragraph is
10 reformatted, or a font changed). It is also possible to compare
11 particular pages or page ranges. For example, if there are two versions
12 of a PDF file, one with pages 1-12 and the other with pages 1-13 because
13 of an extra page having been added as page 4, they can be compared by
14 specifying two page ranges, 1-12 for the first and 1-3, 5-13 for the
15 second. This will make DiffPDF compare pages in the pairs (1, 1), (2,
16 2), (3, 3), (4, 5), (5, 6), and so on, to (12, 13).
17
18 A couple of example PDF files are provided online so that you can try it
19 out. PDF files can be loaded from the GUI (by pressing the File #1 and
20 File #2 buttons), or by specifying them on the command line. More
21 information is available in the program's tooltips and About box.
22
23 (If you want a command line tool for comparing PDFs see
24 http://www.qtrac.eu/comparepdf.html.)
25
26 Home page: http://www.qtrac.eu/diffpdf.html
27
28 Compiling and Installing DiffPDF
29 ================================
30
31 Prerequisites: A C++ compiler, KDE's Extra CMake Modules, the Qt 5 libraries,
32 and the Poppler libraries. Linux and BSD users should be
33 able to get everything through their package management system---and
34 some distros already include diffpdf so you don't even have to build it.
35 Mac OS X users can get a compiler by installing Xcode; you'll need to
36 get Qt and Poppler separately.
37
38 1. Unpack the archive file, diffpdf-XXX.tar.gz
39 $ tar xvfz diffpdf-XXX.tar.gz
40 2. Change directory to diffpdf-XXX
41 $ cd diffpdf-XXX
42 3. Create a build folder and go there;
43 $ mkdir build && cd build
44 4. Run cmake;
45 $ cmake ..
46 5. Run make
47 $ make
48 6. Optional: install the diffpdf executable;
49 $ make install
50 7. Only the executable is needed (although `make install` will install also other files);
51 all the files that were unpacked or generated can be safely deleted.
52
53 That's it!
54
55
56 Running DiffPDF
57 ===============
58
59 A pair of tiny example files are available:
60 http://www.qtrac.eu/boson1.pdf and http://www.qtrac.eu/boson2.pdf. You
61 can use these to see the difference between text and appearance
62 comparisons and to get a feel for how DiffPDF works.
63
64 If you hit a bug, please report it to [email protected]. Be sure to include
65 "DiffPDF" in the subject line and specify the version you are using
66 and details of your system, e.g., operating system name and version,
67 compiler name and version, Qt library version, Poppler library version.
68
69
70 License
71 =======
72
73 This program was written by Mark Summerfield.
74 Copyright © 2008-13 Qtrac Ltd. All rights reserved.
75
76 This program is free software: you can redistribute it and/or modify it
77 under the terms of the GNU General Public License as published by the
78 Free Software Foundation, either version 2 of the License, or (at your
79 option), any later version. This program is distributed in the hope that
80 it will be useful, but WITHOUT ANY WARRANTY; without even the implied
81 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82 GNU General Public License (in file gpl-2.0.txt) for more details.