QtQt printing question - html to pdf
Steve G.
wordz2u at gmail.com
Wed Nov 2 17:26:41 IST 2011
I want to read it on the Kindle 2. There is a problem in displaying Hebrew
characters in the usual formats - .mobi, .txt, azw (awz?), etc. - I can
view a PDF document on the Kindle and an external html pages (there is no
way that I know of to view html files stored in the Kindle - they are not
presented in the menu of available documents.
The problem with PDF is that if the page size is too large, say A4, it is
very unpleasant to read it on a 6 inch screen. It requires using the
Kindle's mouse button (5-way arrows) to scan each line, or use a magnifying
lens.
Since I want to read the darn thing on the Kindle, not from my web server,
I want to convert the documents to PDF, with a page size that is slightly
smaller than B7.
Calibre seems to convert to the right size, but I do not know how to
automate it yet. Meir's script works, and I can run it from a script that
would open and convert each file, if I can get the size right. Wkhtmltopdf
gives me boxes between letters, indicating missing fonts.
Z.
On Wed, Nov 2, 2011 at 9:15 AM, Tzafrir Cohen <tzafrir at cohens.org.il> wrote:
> On Wed, Nov 02, 2011 at 07:58:14AM -0600, Steve G. wrote:
> > As a follow up to previous question - I am using Meir's script from
> > http://whatsup.org.il/article/6412 - which has hard coded A4 paper size.
> >
> > Since my documents are for the Kindle, with screen size of 9 cm x 12.2
> cm,
>
> Why do you want PDFs? Don't you prefer an output format that is more
> portable with regards to the screen size? Have you considered ePub?
>
> And let's take one step backwards: can't you just take a tarball of
> HTML files + images?
>
> --
> Tzafrir Cohen | tzafrir at jabber.org | VIM is
> http://tzafrir.org.il | | a Mutt's
> tzafrir at cohens.org.il | | best
> tzafrir at debian.org | | friend
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
--
Sincerely,
Steve
http://www.words2u.net - GPS points and tracks (mainly in Costa Rica)
http://www.words2u.net/recipes - Recipe collection
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20111102/d4babdf5/attachment.html>
More information about the Linux-il
mailing list