Quote:
Originally Posted by Kasper Hviid
How about fonts? I guess that
font-family: sans-serif;
font-family: serif;
will be safe,
|
Results are unpredictable. If I remember correctly, in my reader all the "standard" font-families result in the default font (or one of a couple of default fonts), even though I can set my own preferred font.
That is, I install "Droid Serif" and use it happily... but then some book sets "font-family: serif", and I see the default Adobe font, instead of "Droid Serif". So, I'd say avoid them. Use only fonts if you are embedding them, and don't use embedded fonts for the main text.
Quote:
but can I trust that any of the 'web-safe-fonts' are on the system?
|
Certainly not. And you cannot trust they are on computers either. They are in some Windows versions, and in other systems only if the user actively installs them.
Quote:
And how about line-height and letter-spacing?
|
letter-spacing is not in ePub spec, I believe.
line-height is, but that's something a bit like font-size: you better let the user choose the right one and don't mess with it, unless for some special effect in some particular section (I use "line-height:0" for superscripts, to avoid uneven line spacing, for instance).