Quote:
Originally Posted by Ryzir
I've tried multiple books and dozens of pages and there is always room for at least one more line of text and most pages have room for two.
|
Perhaps the book has the bottom margin set in CSS with @page, or in the .xpgt file? If so then this margin will be added to the space between the footer and the bottom of the text.
You could try using a negative value for margin-top in the patch, but since different publishers use different sized margins the best thing is to delete any .xpgt file in the book and replace the publisher's @page margins with your own. The Modify Epub plugin can do both of these things easily.
Edit: The other cause of extra blank lines could be the orphans/widows settings in the book. You can enable the `fix page breaks bug` patch to prevent orphans/widows processing for all books, or edit each book to set orphans:1;widows:1; in the CSS (or replace the publisher's settings, if any). The KoboTouch driver in calibre can be set up to do this automatically as the books are sent to the device.
Edit2: The other thing to check is whether you are using the "Document Default" font setting. If so then the font used for the footer will be Gothic, which sits very low on the line and gives the effect of extra padding above the line. Try selecting a font such as Georgia or Avenir instead of Document Default and see if that makes a difference. (You can also force a different font to be used in the footer even when Document Default is selected by uncommenting one of the font-family lines in the footer patch).