Quote:
Originally Posted by JSWolf
I did notice one thing with the sample ePub. The font size does not change. Also,the CSS is a real frigging mess.I've not looked that closely, but it's a disaster.
I would expect Google Play Books app to handle ePub 3 as they accept that for sale. But I'm not sure as I've never used the app.
|
When I look at the CSS file in the EPUB, I notice also a few other things.
First, the EPUB does not contain any fonts that a CSS rule can reference.
Second, a lot of different font types are mentioned, but there is no reference where they can be downloaded by the EPUB in the CSS file.
Third, the CSS before content definition contains a graphic character without referencing a specific font.
The question is which font is now active when the EPUB reader starts rendering a page? The answer to this is: Where the emperor is not there, he loses his rights. The EPUB reader then checks whether an alternative font has been mentioned that the EPUB reader is familiar with. The more exotic the font is, the greater the chance that an EPUB reader will not have that font on board. Then the EPUB reader should fall back error-free to a font that is present.
Then there's the next problem, what if the fallback font doesn't have the graphic character? He can then display a graphic block as an error character indicator, but how does the rendering proceed? It is very difficult to create a one-fit-all error handling routine. That graphical character does occupy one position on the screen, but in the code it can be several positions. There is a good chance that the result will look very different from the expected layout because rendering is out of sync with the CSS code.
I think different roles in an emergency each require graphical markup for that specific role. I've added and modified the awesome font to be able to use it in an EPUB. In page 1U3 I could replace all formatting code with a character of font-awesome. But font-awesome doesn't have a dot in a square used on it. Before we get to that, I'm very curious if page 1U3 still misrepresents the contents of "Unfälle: Giftstich" in the attached EPUB to see if we're on the right track to solve the issue.