Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2011, 03:30 AM   #31
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,522
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by cybmole View Post
does line -height also default to 1em?

i oftern see 1.2 em in CSS but have not messed with that to date
I'm afraid the default line-height is unpredictable, it varies among readers and browsers, but I'd say it's typically around 1.1-1.2 em.

The "right" line-height is also different depending on the font (and the user). Some fonts are created such that their characters completelly fill the em-box, and sometimes even spill outside of it. If, for these fonts, you use a line-height of 1em (which means the em-boxes are just stacked with no space), the characters in consecutive lines can touch and overlap. Some other fonts have their characters defined completelly inside the em-box, and with some breathing space above and below. For these fonts a line-height of 1em may look fine, but, for a given font-size, the characters look smaller. (See here.)
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding fonts with Sigil? MacEachaidh Sigil 4 08-20-2010 07:16 AM
Embedding fonts JaneFancher Calibre 14 04-10-2010 09:28 PM
Embedding fonts with Sigil and Calibre JaneFancher Calibre 1 04-09-2010 12:35 AM
Embedding fonts AprilHare ePub 6 01-02-2010 11:42 AM
Embedding fonts jash Calibre 2 09-09-2008 05:05 PM


All times are GMT -4. The time now is 12:34 AM.


MobileRead.com is a privately owned, operated and funded community.