Hi Santhosh,
Good work with the library. I tried a few pages like பட்டாம்பூச்சி, மாந்தவுருவகம் etc., and I got an error. However, it worked for the Tamil Wiki example you cited, இலங்கை and the Malayalam wiki example Mango.
Some quirks: 1. insertion of intra-word spacing (like Srikanth and Shiju mentioned) 2. hyphenation is without the hyphen sign 3. image layout as others observed 4. I notice that the இ in இலங்கை appears to be larger and starting from slightly below other characters. Is it because of the font used? In fact, I just notice that it is so in this email text as well. Is it due to my client-side fonts?
I'm sure that it'll be very useful once the issues are fixed. I can already dream of pediapress for Indian languages.
- Sundar
"That language is an instrument of human reason, and not merely a medium for the expression of thought, is a truth generally admitted." - George Boole, quoted in Iverson's Turing Award Lecture
----- Original Message ----
From: Santhosh Thottingal santhosh.thottingal@gmail.com To: Discussion list on Indian language projects of Wikimedia. wikimediaindia-l@lists.wikimedia.org Sent: Mon, February 14, 2011 10:36:14 PM Subject: [Wikimediaindia-l] PDF rendering of Indian language wiki pages
Hi, We are working on a Complex script PDF rendering library named PyPDFLib(https://savannah.nongnu.org/projects/pypdflib/). One of its test case (or use case) is to render a wiki page in complex script(any Indian Language) to PDF. Currently PDF export feature is not available(not working) for Indian language wiki projects because of technical incapability of Python Reportlab library.
Just wanted to give an early preview of this software library through an online interface : http://silpa.smc.org.in/Render You can try with a Wikipedia page in your language and verify the generated PDF. You can also access this using this URL http://silpa.smc.org.in/Render?wiki=http://ta.wikipedia.org/wiki/%E0%AE%87%E... (replace that wiki URL with other page addresses too - any Ianguage - not limited to Indian languages)
There are lot of items not implemented, but your feedback is requested on the current version. The library uses Pango for text rendering and Cairo for graphics and PDF features.
ps: Don't get surprised if you get a 500 Error page for the random page you are trying. Just try another wiki page ;)
Thanks Santhosh Thottingal http://thottingal.in
Wikimediaindia-l mailing list Wikimediaindia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikimediaindia-l