readium / readium-shared-js

Repository for the shared JavaScript libraries that are used in the SDK-Launchers and other applications developed on top of the SDK
BSD 3-Clause "New" or "Revised" License
78 stars 102 forks source link

Bad layout in FXL document #262

Open rkwright opened 8 years ago

rkwright commented 8 years ago

Background Info A user (ludala, airchobit@gmail.com) sent in an EPUB they created. It is a fixed layout EPUB.

Steps to Reproduce Open the file in the Chrome Extension or one of the Launchers.

Expected Behaviour Should render and layout perfectly.

Actual Behaviour In Chrome Extensions, layout is bad with the page shifted to the right. As the browser window is shrunken, the layout changes but is never correct, Opened in SDKLauncher-OSX the layout is different but still wrong - the page is apparently oversize and gets clipped.

Environment Tested with 0.23 (develop) on MacBookPro running OSX 10.10

Other Info Renders fine in iBooks on the same machine. Passes EPUBCheck with a few warnings about file extensions.

Test File Test file is here

danielweck commented 8 years ago

There's definitely some kind of rendering / scaling bug. I only see dark pages without content with the latest build (develop branch) of the cloud reader app: https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Freadium%2Freadium-test-files%2Fmaster%2Fissue-files%2Fshared-js%2F262%2Fepub20160226.epub