![]() |
Best font stack?
I'm creating an ePub with InDesign 5.5, to be distributed to the stores supported by BookBaby, except for Amazon., which I'll do directly. I want to use a safe serif font for the body text and a safe one for the heads and subheads. What is the best practice for defining the font stack in the style sheet? Should I specifiy several of those supported by the various readers and then conclude with generic serif or sans serif? Is there an ideal stack for the Kindle versus other eReaders?
Thanks Chris |
It's best not to define a general body text font, at all. Headers, sub-headers and special text, sure... if you want. But unless your text contains special characters that can't be displayed with normal fonts, then you should probably let the reader (the device or the user attached to it) decide the body text font that they prefer.
|
Charis SIL is a very nice font to use and it's the font used by most publishers when they embed fonts as it's free. This is the code to use Charis such that it will work and still allow readers that can change fonts to do so.
Put the fonts directory in the same place as the stylesheet. So if you have OEBS/style.css then you want OEBS/fonts/. Code:
@font-face { |
Quote:
embedding fonts into epub is just unnecessary bloat |
Quote:
|
Quote:
|
Quote:
Fonts should be provided by the reader, not embedded separately in every book. All it serves is make the files bigger. The Charis SIL font is 6.5MB large (3MB compressed), that's several time the size of a regular book with cover. Quote:
|
Quote:
|
Quote:
|
For Reading systems based on RMSDK (Nook, Bluefire Reader, ADE 1.8 Mac, etc...) the font changing system is based on user stylesheets, which carry a higher level of precedence than a normal stylesheet. Placing the font definition in a body rule (or even just a p/div) rule should be okay. Placing it in a class rule (ie p.myClass or .myClass) will cause problems with overrides for those readers (this is what InDesign does by default, BTW).
Using a class rule won't cause problems with Nook Color/Tablets, and soon not on the NST, but that's a whole different can o' worms. I don't know how Reading Systems (iBooks, etc...) not based on RMSDK work for this, and would suggest testing to make sure you get the results you desire. That being said, I agree with Jellby - as a general rule don't embed the font. If you really think you need to embed the font, please keep your CSS clean (only use the level of specificity you have to). Note: This is my personal opinion, and not necessarily that of my employer. |
Quote:
|
i wanna chime in to +1 all those that said not to specify the font. I very much enjoy my reader's default font as well as the ability to change it at will.
If some people have readers with crappy default fonts, then it just sucks to be them; should'a bought a reader that invested in a decent font set. Of course you could always create epubs specific to/tailored to individual readers if it is really an issue with specific cases. |
Quote:
It should work fine in most readers that allow font changing. It won't work in a Kobo because Kobo doesn't give a damn (font-family in body doesn't work) and you won't see the embedded fonts. |
Quote:
What would really help is if there was a way to subset the embedded fonts. |
Thanks for those that have contributed to this thread. I've learned quite a bit from it and the temptation to embed fonts is significant. But for my first book I think I'll err on the side of caution. The safest thing would simply be to use "serif" for the body text and "sans-serif" for heads and subheads, if I understand correctly.
Chris |
| All times are GMT -4. The time now is 07:53 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.