Need help – HTML to PDF with Custom Fonts

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.

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.

We want to use custom TTF fonts for Tamil.
Ila Sundaram-10.TTF is the font we want to use.
Get this font from http://www.kaniyam.com/ila-sundaram-unicode-tamil-fonts/
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.

One thought on “Need help – HTML to PDF with Custom Fonts

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s