View Single Post
Old 10-21-2012, 12:52 PM   #24
roycymru
Connoisseur
roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'roycymru has never once had to say 'it's on the tip of my tongue...'
 
Posts: 68
Karma: 127834
Join Date: May 2012
Device: Kobo Touch
Quote:
Originally Posted by DNSB View Post
If your sideloaded book has margins and line spacing set in the stylesheets or directly in the xhtml code, the Kobo will not override it. Font size is also affected as the Kobo starts with the ebooks font size and modifies it from there -- a book that uses 1.33em as the default font size will have text about 33% larger than a book that uses 1em as the default font size at the same font size setting.

Personally, I have a stock set of line spacings, margins and font sizes plus other bits and pieces in a stylesheet that I use in all the ebooks I modify just to keep a consistent appearance. Nothing like buying three ebooks in a series and finding the default font size ranges from .8em to 1.4em which makes switching between books to check information a PITA. Book 1, she's a niece, book 2 she's a daughter, book 3 she's a granddaughter. Either poor author continuity or a family that takes kissing cousins to a whole new level.

Sample for the body style I use:

display: block;
font-size: 1em;
margin-bottom: 5pt;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 5pt;
padding-left: 0;
padding-right: 0;
text-align: left;
word-wrap: break-word;
widows: 2;
orphans: 2;

Regards,
David
Hi

Can you please explain in a bit more detail how you implement this "Style". Is is something in Calibre you just copy and past into the Extra CSS section of "Look and Feel" in "Convert Books". If so, do you make any other adjustments? I find that in "Look and Feel" if I tick "Remove spacing between paragraphs" and also in Filter Style Information tick Fonts and Margins (to "remove" them) then I can adjust most things to how i want them.

If not, where else do you make these adjustments?
roycymru is offline   Reply With Quote