sarabander / sicp

HTML5/EPUB3 version of SICP
http://sarabander.github.io/sicp/
Other
4.35k stars 600 forks source link

tiny images, missing text above #7

Open igalic opened 10 years ago

igalic commented 10 years ago

I'm reading the ePUB version on Kobo. images, including the cover, are tiny.

after a page-break, all text preceding a figure is missing.

sarabander commented 10 years ago

That's probably because Kobo doesn't support the full epub3 spec yet.

The image dimensions are given in relative units (ex) so that they scale with text size. The SVGs should expand up to the container size regardless of their original dimensions.

All this works in Firefox, Chrome, Safari, and in a few desktop epub readers (Azardi and Readium) that claim to support large subsets of epub3.

It would be difficult to test which HTML and CSS works without owning the Kobo. Maybe there is a combination of markup and css that works in Kobo and still adheres to the standard. Vendor-specific solutions are bad, I don't want to open that door.

igalic commented 10 years ago

ACK. Maybe I should open this bug with Kobo then ;)

Thank you for the info

sarabander commented 10 years ago

Kobo promised full epub3 support by 2014 a while ago. A few months are left to deliver. Maybe it will help if you push them a little :-)