View Single Post
Old 12-14-2014, 07:03 AM   #13
scoky
Connoisseur
scoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy blue
 
Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
Continue...

I find in .css there are two section to control the real margin. The first one is mentioned above, it is body section to control whole margin and it is better to set to zero. The second is the detail text section in paragraph, it is better to set to a very small value. To process CSS like this, the "f" and "j" issue will be disappeared.
Example: this code is in html of kepub
Code:
<body>
<p>&nbsp;</p>
</body>
The body section in .css will be added with margin: 0;. The p section in .css will be modified like this: margin: 0.25em;

However, I don't find any setting in Calibre can modified this automatically.
Attached Thumbnails
Click image for larger version

Name:	screen141214-195629.png
Views:	609
Size:	162.9 KB
ID:	132455   Click image for larger version

Name:	screen141214-195720.png
Views:	542
Size:	180.1 KB
ID:	132456  
Attached Files
File Type: epub (3rd modified) Moby Dick; Or, The Whale - Herman Melville.kepub.epub (769.4 KB, 360 views)
scoky is offline   Reply With Quote