Quote:
Originally Posted by radius
- to have the option to use whatever font face and font size the publisher chose for the main text
|
Don't even bother with this. 99% of the time, setting the font that is used for the majority of the book is the wrong thing to do. Publishers might want to try to match the physical book, but without full control over the exact layout of the book (which is impossible for reflowable ebooks), it's just not going to work. Fonts on paper look much different from fonts on displays (regardless of the display technology).
In addition, there are so many different reading apps out there, and they all handle "body fonts" differently, even in the same app. For example, a KFX file created from an EPUB allows you to use a
font-family attribute set to an embedded font in the
body element, and the person reading can choose to use this (by picking "Publisher Font"), or can change it to one of the built-in fonts. I do not know if KF8 files work the same way when delivered to a Kindle device.
Other reading software will completely ignore any
font-family property in the styling of the
html or
body elements. So, some publishers add a
font-family property to every CSS class to force the font. Doing this will not allow the Kindle to override the "publisher" font with a user-chosen font.
Since every good reading app allows the user to add fonts to the built-in list for picking a body font, just don't set any special font for the main body text, and let the user pick what they want.