I'm trying to modify a program named Gramps (a python genealogical
program).  It uses pango/cairo to create a report in PDF.  Contained
within text to be written into the report are URLs (http://...).

I would like to make the URLs clickable, so that if I view the PDF in
something like okular, I can click on the link.  Adobe's PDF viewer
automatically makes URLs clickable, but programs like okular do not.

pango.version_string() returns '1.28.0' and cairo.version returns
'1.8.10'.  I'm running on a Fedora 13 system with Python 2.7.

Pango markup doesn't understand the anchor (<a>) tag like it does <span>
so I just can't change the text to an HTML like entity.

Is there a way so that the pango/cairo generated PDF has clickable
links?  Any help, pointers to information, etc is much appreciated.
I've googled and have not found anything useful.

Is this something I need to ask in the Pango or Cairo mailing lists
instead of here?

-- 
Adam Stein @ HCL America Inc.        Email: [email protected]

Disclaimer: Any/All views expressed
here have been proven to be my own.  [http://www.csh.rit.edu/~adam/]

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to