<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Project><name>pdfgrid</name>
<shortdesc>Add a grid on top of all pages of a PDF document.</shortdesc>
<description>`Pdfgrid` is a Python command-line tool and module for adding a regular 
grid on top of all pages of an existing PDF document. It will mostly be 
used for measuring individual parts of PDF pages like graphics or paragraph 
widths. For the time being, only a rectangular grid with major and minor 
lines is supported, and their colour and line widths can be set individually.

NOTE: This is an initial release. The API is likely to change and for the 
time being the grid size is limited to A4, but this will change in future 
releases.

`Pdfgrid` depends on two Open Source libraries, namely 
`pyPdf &lt;http://pypi.python.org/pypi/pyPdf&gt;`_, a package written by 
Mathieu Fenniak and `reportlab &lt;http://www.reportlab.org/downloads.html&gt;`_ 
by ReportLab, Ltd.

This version fixes an issue with the manual installation.


Features
++++++++

- add regular rectangular grid over all pages of a PDF document
- define grid origin on all PDF pages
- define grid styles containing grid step, line width and colour
- use multiple grids at once with different styling
- install a Python module named ``pdfgrid.py``
- install a Python command-line script named ``pdfgrid``
- provide a Unittest test suite


Examples
++++++++

You can use *pdfgrid* as a Python module e.g. like in the following
interactive Python session::

    &gt;&gt;&gt; from reportlab.lib.colors import red
    &gt;&gt;&gt; from reportlab.lib.units import cm
    &gt;&gt;&gt; from pdfgrid import grid
    &gt;&gt;&gt; grid("foo.pdf", origin=(0, 0), styles=[(1*cm, 0.1, red)])
    written: foo-grid.pdf
    
In addition there is a script named ``pdfscript``, which can be used 
from the system command-line e.g. like this::

    $ pdfgrid -h
    $ pdfgrid -v
    $ pdfgrid --origin "0,0" --styles "1*cm,0.1,colors.red" foo.pdf
    written: foo-grid.pdf</description>
<download-page>http://www.dinu-gherman.net/tmp/pdfgrid-0.2.0.tar.gz</download-page>
<homepage rdf:resource="http://www.dinu-gherman.net/" />
<maintainer><foaf:Person><foaf:name>Dinu Gherman</foaf:name>
<foaf:mbox_sha1sum>7bb08fcdc2bcde8b5c6a9f3d15260508624e7291</foaf:mbox_sha1sum></foaf:Person></maintainer>
<release><Version><revision>0.2.0</revision></Version></release>
</Project></rdf:RDF>