File: README.txt

package info (click to toggle)
python-pdftools 0.37-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 256 kB
  • ctags: 258
  • sloc: python: 1,676; makefile: 2
file content (63 lines) | stat: -rw-r--r-- 2,027 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
========
pdftools
========

Introduction
------------

pdftools is a library of classes for parsing and rendering PDF documents.


Installation
------------

Installation is optional as long as the directory containing the pdftools
package is included in the list of paths stored in the PYTHONPATH environment
variable.

To install the pdftools module, enter the following at the command line from
within the directory unpacked from the archive:

  python setup.py install

You may need to be the root user to install the package.


Font Metrics
------------

pdftools will automatically import the PyQt4 package, if available, so that
information about font metrics can be obtained if requested by the user. If
the PyQt4 package is not installed, this information will not be available.

If the PyQt4 package is available and you need to obtain font metrics, you
must first ensure that a QApplication instance has been created. This can be
achieved by adding the following lines of code to your application:

  from PyQt4.QtGui import QApplication
  app = QApplication([])

Please see the documentation for PyQt4 for more information about QApplication.

The mechanism used to automatically import PyQt4 and use Qt classes may change
in future versions of this package.


License
-------

Copyright (C) 2001-2008 by David Boddie

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.