View Single Post
Old 09-15-2024, 02:01 PM   #2
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 522
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by radius View Post
- 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.
nabsltd is offline   Reply With Quote