Awesome. Thanks. On 14 Feb 2016 05:36, "selvan" <p.thama...@gmail.com> wrote:
> Able to generate PDF with Sundaram-10.TTF font using latest Phantomjs > (Have used version 2.1.1). > > Here is the link to sample PDF output of the same : > https://github.com/selvan/phantomjs-customfont/blob/master/index.pdf > > Sample code is at https://github.com/selvan/phantomjs-customfont/ > > Looks like older Phantomjs versions (1.9.x) was't supporting custom web > fonts. > > > > On Fri, Feb 5, 2016 at 1:01 PM, Shrinivasan T <tshriniva...@gmail.com> > wrote: > >> >> We are looking for a solution to convert html pages to A4 pdf and B7 pdf >> for FreeTamilEbooks.com project >> >> >> Training authors to create ebooks themself using Pressbooks.com >> They can export epub, mobi, xhtml from pressbooks. >> >> >> Now, few volunteers are converting xhtml to PDF by printing from Firefox. >> by changing the margin and printer settings in Firefox. >> >> see point 8 at >> https://goinggnu.wordpress.com/2014/02/01/how-to-create-an-ebook-for-free-tamil-ebooks-com/ >> >> Many authors find that this is difficult. >> >> Looking for a solution to automate the process of converting XHTML to A4 >> and B7 size PDFs so that we add a web interface, host in server, ask >> authors to upload epub or xhtml file to get PDF files as outputs. >> >> Explored PhantomJS >> >> http://we-love-php.blogspot.co.uk/2012/12/create-pdf-invoices-with-html5-and-phantomjs.html >> >> We want to use custom TTF fonts for Tamil. >> Ila Sundaram-10.TTF is the font we want to use. >> >> Tried to set this font via CSS using @font-face. >> But the PDFs are not using this font. >> >> Explored wkhtmltopdf >> It is not rendering B7 size properly and can not set custom font. >> >> Looking for volunteers to explore the PhantomJS or wkhtmltopdf to >> generate PDF files from HTML with custom font. >> >> reply here or contact me if you are interested to volunteer. >> >> Thanks. >> >> >> >> >> >> -- >> Regards, >> T.Shrinivasan >> >> >> My Life with GNU/Linux : http://goinggnu.wordpress.com >> Free E-Magazine on Free Open Source Software in Tamil : >> http://kaniyam.com >> >> Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : >> http://FreeTamilEbooks.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "chennaigeeks" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to chennaigeeks+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "chennaigeeks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to chennaigeeks+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >
_______________________________________________ Chennaipy mailing list Chennaipy@python.org https://mail.python.org/mailman/listinfo/chennaipy