Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Conversation

kimtuck
Copy link

@kimtuck kimtuck commented Nov 22, 2016

This pull request is Finalized

Related issue(s) and/or pull request(s)

See #340

Test cases, sample files

Additional information

In some cases, the book may have an image which is surrounded by a svg tag like this: <svg:svg ....><svg:image ....></svg:image></svg:svg> In this case, the containing svg must be used to find the client rectangles. Some epub books have a cover page which is structured like this; with no other content. Without this change, it appears to readium that there is no visible content on the page, because it can't find the first visible cfi.

danielweck and others added 2 commits September 20, 2016 17:51
…g tag like this: <svg:svg ....><svg:image ....></svg:image></svg:svg> In this case, the containing svg must be used to find the client rectangles. Some epub books have a cover page which is structured like this; with no other content. Without this change, it appears to readium that there is no visible content on the page, because it can't find the first visible cfi.
@danielweck
Copy link
Member

Looks good to me. Could you please update the readium-cfi-js repository (as per the latest commit in the develop branch), so that the conflict is resolved? Thanks!

@danielweck
Copy link
Member

Let's create / find an EPUB sample to reproduce the associated issue, and let's merge this PR.

@jccr
Copy link
Contributor

jccr commented Jul 10, 2017

I'm ok with merging this, not sure about the submodule ref update though.

@danielweck
Copy link
Member

danielweck commented Jul 13, 2017

The cfi_navigation_logic.js file is now in conflict, so we might need to cherry-pick the code change manually (it is quite straight-forward). If so, let's remember to cross-reference this PR and credit @kimtuck for the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants