Oh Apple, what are you doing? So misguided. You add DRM to all your ebooks. And now, you have crippled iBooks 1.1 so that it won't recognize fonts applied with perfectly standard CSS to any
body, p, div, or span element. Your guidelines state that ebook designers should not choose fonts, stating that it "creates a bad user experience". You are wrong. Apple designers choose fonts for everything Apple does. Because fonts matter. Indeed, you have chosen the fonts for iBooks and for the iPad. And now you have chosen to keep ebook designers from choosing the body font for their ebooks. It is a very shortsighted decision.
The ePub specification requires that conforming ereaders, like yours purports to be, support
font-family, among other CSS 2.0 properties. Indeed, you do support font-family for most inline elements, like b, em, code, and even some block level elements like dl and li. Why then not the biggies: p, div, and span? Your desire for control will ultimately break these standards or it will break iBooks. It will break standards as it incites designers to use ugly hacks to overcome iBooks' broken support for standards. It will break iBooks as people design beautiful standards-compliant ebooks that look great in other readers that support standards.
Or should we just go back to Internet Explorer 5?
Here is a screenshot of a number of elements, all of which are styled with the following declaration:
{font-family: sans-serif}. Here is the XHTML file and the perfectly standard CSS on which the ePub is based. Click on it to see, in a standards-compliant browser, what it should look like (hint: everything should display in a sans-serif font). Or download the ePub file itself to your own iPad.
[updated June 24, 9am] Just in case it wasn't clear, the example above is not meant to be an ebook design, for goodness sake! It is the simplest possible example that shows which elements can be modified with
font-family in iBooks 1.1. The "Ew" in the screenshot means "iBooks is disregarding standard CSS" NOT "I don't like serif fonts".

25 comments: