Quote:
Originally Posted by rsuchwani
CSS needs to be simple when the eBook is simple (fiction, targeted for a single platform, one to two styles, etc) and doesn't require special handling, but when the content (like the one I have for this non-fiction book) needs to have many specific styles and display formats, targeted for multiple platforms, then the CSS needs to be this 'messy'. The assumption that you are making here is based only on the few pages of text in the sample ePub, whereas in reality the complete is a little bit over 400 individual pages with varying styles, colors, display options.
But, I'm not going to argue over a valid point, because yes, you do make a valid point. There are classes that aren't used and in the final version of the ePub, they'll be removed.
|
Keeping it as simple as possible is always best. Never reference specific fonts that aren't embedded. Also, you should test this on as many eInk Readers as you can given that they use different reading software. Also to know if the colors need to go or not.
Quote:
Yes, it was intentional. It was some sort of example to the author to explain the difference between zooming and increasing/decreasing the font size across multiple reading systems. But even using the 'fixed reference font size' many reading systems still allow to increase/decrease the font size.
|
The font size restriction needs to go and you need to test with different font sizes from too small to too large.
Quote:
I didn't want to depend on the use of the fonts for the symbols, that's why I used the 'HTML entity codes/symbols or Unicode characters' which are supported almost on all reading systems. Only one or two symbols aren't supported across all.
|
Besides that, I don't think that there's any font file that has all these Unicode characters as a font. If you know such font, I'll be glad to have it.[/quote]
So you'd rather rely on an unknown font and hope that your symbols will show up. That's very poor planning. Just embed a font. You can subset it and leave just the symbols.
Just embed all the fonts you need that have these symbols and subset them. That will reduce the size greatly and give you the symbols you need. Also given that you say there may not be a font with all the symbols, then chances are no reading system's default font will do and that will botch your book's appearance.