Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epub support #9

Open
yasirmturk opened this issue Jun 8, 2015 · 6 comments
Open

epub support #9

yasirmturk opened this issue Jun 8, 2015 · 6 comments

Comments

@yasirmturk
Copy link

any possibility?

@Marxon13
Copy link
Owner

Possibly. I could do it. But, does it fit in with a PDF reader? If I do, I might make a new project based off of this one.

@simalexan
Copy link
Collaborator

@Marxon13 agreed. imho, making a separate project with an epub one is a good idea.

@Marxon13
Copy link
Owner

Or... What about a converter that will convert the ePub into PDF? Hm... I have no idea how hard that would be to implement. The UI's of the PDF and ePub viewers will be very similar, but nearly impossible to separate from the underlying format. I want to re-use as much code as possible.

@simalexan
Copy link
Collaborator

as an additional feature, for rendering epub as PDF?

The problem with the PDF is that its a visual document format
epub standard is more a semantic one - its XML based
tbh, it appears to me as well, that it would be much easier to make a separate project that only handles epub, than to make a converter from epub to pdf.

Maybe we could make separate document rendering engines (the current for PDFs and second one for epubs) and integrate into one viewer, with an option that user can specify which types of documents to support as parameters or something like that? But that again, it would require two (or even 3) separate projects

@Marxon13
Copy link
Owner

I can see two ways of doing this.

  • One is creating a separate project for viewing ePub documents.
    • The issues I have with this is that any UI changes or fixes will probably apply across the PDF and ePub projects. And it will be a bit of a hassle to keep in sync.
  • The other is to create a backend for ePub, and hook it up to the UI.
    • My concern with this is that I want to add a lot of PDF-centric features, that ePub probably doesn't support. And that there are things in ePub that PDF does't support.

I just took a look at the ePub feature list, and a separate project is probably in order. I might abstract out a bit of the UI into a third project and import that into both, but having a separate project is probably best.

@simalexan
Copy link
Collaborator

@Marxon13 count me in for the epub project

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

No branches or pull requests

3 participants