View Single Post
Old 10-14-2011, 07:24 PM   #2
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,551
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Okay, I was able to fix this bug. I also fixed a number of rendering related quirks that bother me.

One of the great things about Stanza is it uses webkit browser as renderer and it exposes the html template file, css, and the javascript for file pagination. This provides a hook to tweak things a bit without access to the code/ You need a jailbroken ipad, of course. The files are

Code:
epub-format.css
epub-functions.js
epub-template.html
Attached couple screenshots. I modified the css to preserve more of the book's formatting, in term of font size and paragraph spacing (the first shot is from the "back page" so fonts are smaller). I also changed the way feedbook does chapter header. Got rid of the word "chapter" and the box for a cleaner look. Added some drop shadow for fun.

I can post the files if anyone interested (and mods have no objection).

I love Stanza. Keep hope alive!

Source epub here:
http://www.feedbooks.com/book/413.epub
Attached Thumbnails
Click image for larger version

Name:	photo2.jpg
Views:	234
Size:	121.5 KB
ID:	77821   Click image for larger version

Name:	photo3.jpg
Views:	252
Size:	113.3 KB
ID:	77822  
Barty is offline   Reply With Quote