View Single Post
Old 11-17-2015, 03:29 AM   #1
senhal
Connoisseur
senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.senhal knows what's going on.
 
senhal's Avatar
 
Posts: 82
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
Raised capital modifies line height

I've created an epub with a dropcap on the same baseline as the first line of text:



No problem with the epub, but when i convert it to mobi (with kindlegen) or AZW3 (with Calibre), the second line distance from the first became too large:



How can I fix the situation?

This is the style used:

PHP Code:
<p><span class="dropcap">L</span>orem ipsum dolor sit amet [...]</p
PHP Code:
body{font-size:100%;font-family:serif;}
p{margin:0;text-indent:0;line-height:1.2em;text-align:justify;font-size:1em;widows:2;orphans:2;}
.
dropcap{font-size:4.7em;line-height:0.8em;margin-right:3pt;} 
senhal is offline   Reply With Quote