Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-03-2013, 03:02 PM   #46
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 248
Karma: 556004
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by JSWolf View Post
I have to disagree with you here. 1.2 for a line-height can be just too large and make the lines look too spaced. A good line height depends on the font in use. Also, Kobo defaults to a line height of 1.3 which is even worse then 1.2. So you have to set a line height there or you get large gaps. I actually like Charis SIL set at a line height of 1.0 which is the default for most ADE versions (Desktop and Sony). I do remove line height when it makes the text too big or I adjust it if needed to make the lines closer.
Well, a line height of 1.2 is the absolute minimum that Kindles will allow, so in the more broad world of eBook publishing, using a smaller value is probably a bad idea.
dgatwood is offline   Reply With Quote
Old 05-03-2013, 05:02 PM   #47
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 252
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by Agama View Post
Image attached shows a small sample from the ESV Bible, (as permitted in the copyright notice), with paragraph line-height:1.4em, and superscripts font-size:0.7em; vertical-align:0.25em. (Margin between paragraphs is 0.8em)
Maybe you'd like to try setting line-height:0 in the superscript span style, and reset the p line height? I had good results on a couple of our academic books which also contains a lot of superscript. You could probably also raise the superscript a little if you did that, it doesn't seem like it would overlap with the line above.
Man Eating Duck is offline   Reply With Quote
Old 05-03-2013, 05:21 PM   #48
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,238
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by dgatwood View Post
Well, a line height of 1.2 is the absolute minimum that Kindles will allow, so in the more broad world of eBook publishing, using a smaller value is probably a bad idea.
We are going backwards here. We have Kindles with 1.2 and Kobos with 1.3. Both which are too large. The Kobo can be fixed via CSS and the only way Kindles can be fixed is to edit the metrics of the font so it has a smaller line height. I've done that for the Kindle (for KF8) using Charis SIL and it worked very well.

It's disgraceful when a Reader and/or app has defaults that cannot easily be overridden and those defaults are obnoxious.
JSWolf is online now   Reply With Quote
Old 05-03-2013, 05:56 PM   #49
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 248
Karma: 556004
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by JSWolf View Post
We are going backwards here. We have Kindles with 1.2 and Kobos with 1.3. Both which are too large. The Kobo can be fixed via CSS and the only way Kindles can be fixed is to edit the metrics of the font so it has a smaller line height. I've done that for the Kindle (for KF8) using Charis SIL and it worked very well.

It's disgraceful when a Reader and/or app has defaults that cannot easily be overridden and those defaults are obnoxious.
Indeed. Lots of things the Kindle KF8 readers do are obnoxious. That particular one, though, is so badly done that fonts whose metrics specify a smaller-than-1.2 line height actually get forced up to a 1.2 line height, resulting in the layout of the content changing. To get a line height less than 1.2, AFAIK, the only thing you can really do is lie in your metrics and extend the ascenders and descenders past the specified limits.

So yes, no disagreement here. What Amazon has done with KF8 is broken. Badly. Embarrassingly.
dgatwood is offline   Reply With Quote
Old 05-04-2013, 01:48 PM   #50
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 637
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300, PW2
Quote:
Originally Posted by Man Eating Duck View Post
Maybe you'd like to try setting line-height:0 in the superscript span style, and reset the p line height? I had good results on a couple of our academic books which also contains a lot of superscript. You could probably also raise the superscript a little if you did that, it doesn't seem like it would overlap with the line above.
Well that's rather neat: it worked a treat. Thanks for the suggestion. So now it appears there is no need for 1.4em line-heights after all.
Agama is offline   Reply With Quote
Old 05-04-2013, 06:34 PM   #51
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 252
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by Agama View Post
Well that's rather neat: it worked a treat. Thanks for the suggestion. So now it appears there is no need for 1.4em line-heights after all.
Glad to hear it. I wasn't aware of that trick myself a while ago, and now I'll have to amend our entire backlog of epubs in order to be able to sleep at night

Last edited by Man Eating Duck; 09-30-2013 at 01:35 AM.
Man Eating Duck is offline   Reply With Quote
Old 05-04-2013, 09:13 PM   #52
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,238
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Agama View Post
Well that's rather neat: it worked a treat. Thanks for the suggestion. So now it appears there is no need for 1.4em line-heights after all.
There never was a need for 1.4em. It's just too big and will always be too big.
JSWolf is online now   Reply With Quote
Old 05-04-2013, 09:14 PM   #53
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,238
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by dgatwood View Post
Indeed. Lots of things the Kindle KF8 readers do are obnoxious. That particular one, though, is so badly done that fonts whose metrics specify a smaller-than-1.2 line height actually get forced up to a 1.2 line height, resulting in the layout of the content changing. To get a line height less than 1.2, AFAIK, the only thing you can really do is lie in your metrics and extend the ascenders and descenders past the specified limits.

So yes, no disagreement here. What Amazon has done with KF8 is broken. Badly. Embarrassingly.
So what else is broken with KF8 besides the line height?
JSWolf is online now   Reply With Quote
Old 05-06-2013, 06:17 AM   #54
m00min
Connoisseur
m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.
 
m00min's Avatar
 
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
Quote:
Originally Posted by JSWolf View Post
We are going backwards here. We have Kindles with 1.2 and Kobos with 1.3. Both which are too large. The Kobo can be fixed via CSS and the only way Kindles can be fixed is to edit the metrics of the font so it has a smaller line height. I've done that for the Kindle (for KF8) using Charis SIL and it worked very well.
As someone said earlier in this thread, 1.2 is pretty much a default or common setting for most fonts. For most people it will make the text more legible to be set to 1.2 rather than 1.0. The only time I'd consider using 1em for text is on titles or short bits of text (maybe links on websites). I think you're an edge case in preferring it for reading large quantities of text.


Quote:
Originally Posted by JSWolf View Post
It's disgraceful when a Reader and/or app has defaults that cannot easily be overridden and those defaults are obnoxious.
Definitely agree with this, I've just got myself a Kobo Mini and its driving me mad that I can't switch off the hyphenation without forcing it in the CSS.
m00min is offline   Reply With Quote
Old 05-06-2013, 05:04 PM   #55
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,238
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by m00min View Post
As someone said earlier in this thread, 1.2 is pretty much a default or common setting for most fonts. For most people it will make the text more legible to be set to 1.2 rather than 1.0. The only time I'd consider using 1em for text is on titles or short bits of text (maybe links on websites). I think you're an edge case in preferring it for reading large quantities of text.
1.2em is too large a line height. It is not a default. 1em is actually the default (if there is one).

Don't use 1.2em. It's too big.
JSWolf is online now   Reply With Quote
Old 05-07-2013, 07:33 AM   #56
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 637
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300, PW2
ADE and calibre viewer almost certainly use a default in the region of 1.2em for paragraph line-height. This is a very sensible value to use and ensures that letters with "descenders", (g p q y), don't bump into tall letters on the next line. 1.0em is definitely NOT the default for line-height on all readers.

Do use 1.2em, or 1.1em or even 1.0em, (though this one really is a bit tight), or simply leave it to default as the OP suggested, (and you'll get something in the region of 1.2em on ADE based readers.)

Last edited by Agama; 05-07-2013 at 07:38 AM.
Agama is offline   Reply With Quote
Old 05-07-2013, 08:33 AM   #57
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: 6,001
Karma: 4346921
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Agama View Post
This is a very sensible value to use and ensures that letters with "descenders", (g p q y), don't bump into tall letters on the next line.
Unfortunately, that's very much font-dependent (meaning that for some fonts 1.2 will be "too much" and for others it will be "not enough"). It depends on how the different glyphs (letters) are drawn in the containing block. Some fonts have containing block very well adjusted to the glyph shapes, some fonts have lots of white space in the containing block, some fonts have large parts of the glyphs outside the containing block... There's no fixed solution for every font.

(see Figure 5-9 here)
Jellby is offline   Reply With Quote
Old 05-07-2013, 09:51 AM   #58
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,870
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I keep it on the value 'normal'. That way a good reader can decide for themselves.
Toxaris is offline   Reply With Quote
Old 05-07-2013, 12:06 PM   #59
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,238
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Agama View Post
ADE and calibre viewer almost certainly use a default in the region of 1.2em for paragraph line-height. This is a very sensible value to use and ensures that letters with "descenders", (g p q y), don't bump into tall letters on the next line. 1.0em is definitely NOT the default for line-height on all readers.

Do use 1.2em, or 1.1em or even 1.0em, (though this one really is a bit tight), or simply leave it to default as the OP suggested, (and you'll get something in the region of 1.2em on ADE based readers.)
Your assumption is very wrong. You do not get 1.2em on ADE based readers. Most are actually 1.0em and the Kobo is 1.3em. There are no ADE based readers that give a default of 1.2em that I know of. Desktop ADE is 1.0em. So if you do want a specific line height, you have to specify it. But please don't make it 1.2em or higher. Too big. 1.1em might be OK for most people.
JSWolf is online now   Reply With Quote
Old 05-07-2013, 12:21 PM   #60
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,282
Karma: 5495472
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Jellby View Post
Unfortunately, that's very much font-dependent (meaning that for some fonts 1.2 will be "too much" and for others it will be "not enough"). It depends on how the different glyphs (letters) are drawn in the containing block. Some fonts have containing block very well adjusted to the glyph shapes, some fonts have lots of white space in the containing block, some fonts have large parts of the glyphs outside the containing block... There's no fixed solution for every font.

(see Figure 5-9 here)
Agreed.
Most time I don't specify a line height.
In a few font cases, I have to specify 1.2 as the default space seems overly (screen) wasteful of space

The only other time I use it, is when I mix fonts on a line and the inherited space prevailes (probably due to bad coding on my part)
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: "can only concatenate list (not "unicode") to list" bmuesse Library Management 2 01-11-2013 03:50 PM
epub "padding left" to mobi "block quote" conversion issue 1611mac Conversion 3 01-11-2012 02:10 PM
Convertion error txt to epub "IndexError: list index out of range" economix Conversion 6 12-25-2011 06:14 AM
How to remove "Fully read" books from "Last Open" list? pjeanetta PocketBook 4 12-08-2010 10:30 AM
Suggestion: Don't set "color" tag in .epub css McAlsop Calibre 16 06-17-2010 09:13 AM


All times are GMT -4. The time now is 10:39 PM.


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