Quote:
Originally Posted by Jellby
Actually, Mobipocket has that exactly (see bottom part here). But last time I tried the Cybook didn't support this, I don't know if the Kindle does.
|
Goodness me. So it does.
Unfortunately it doesn't work on the Kindle Previewer or on a Kindle 2i. It does work on Mobipocket Reader under Windows. And it does work on Kindle for Mac and Kindle for PC.
I found out something else interesting. On the Kindle, specifying font size as -1 or +1 is exactly equivalent to specifying it as 2 or 4. By this I mean that if a paragraph has a base font size of 5, specify a span in that paragraph as having font size -1 will make the Kindle display text of size 2, not text of size 4. In the Mobipocket reader, you (correctly) get text of size 4 displayed.
Arghh... no wonder I've been having so much difficulty. Amazon bought Mobipocket, and have created a renderer that does match the old Mobipocket renderer, but in ways that make things worse, not better. They've stripped out clever features like poetry alignment, and have broken existing features (like relative font sizes).
And yes, again it's true that the Kindle Previewer and Kindle 2i have this rendering mistake, but Kindle for Mac and Kindle for PC render the relative font sizes correctly!
[UPDATE: Added a sample mobipocket/kindle file (generated with KindleGen 1.1) that's just a paragraph of text:
<p>Ordinary size text <font size="+3">Very Big text <font size="-2">Should still be bigger than ordinary text</font></font> Back to ordinary text.</p>
which shows the problem very well. Read it on any Mobipocket reader (including Kindle for Mac and Kindle for PC!) except an actual Kindle or the Kindle Previewer, and you get ordinary text, very big text, slightly big text and ordinary text. Read it on a Kindle, and you get ordinary text, very big text, quite small text and ordinary text! ]
[Update 2: Oh, and here's screen shots from Kindle Previewer and Kindle for Mac, showing the different renderings.]