M13PDFKit icon indicating copy to clipboard operation
M13PDFKit copied to clipboard

epub support

Open yasirmturk opened this issue 10 years ago • 6 comments

any possibility?

yasirmturk avatar Jun 08 '15 05:06 yasirmturk

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.

Marxon13 avatar Jun 26 '15 12:06 Marxon13

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

simalexan avatar Jun 26 '15 12:06 simalexan

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.

Marxon13 avatar Jun 26 '15 12:06 Marxon13

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

simalexan avatar Jun 26 '15 12:06 simalexan

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.

Marxon13 avatar Jun 26 '15 13:06 Marxon13

@Marxon13 count me in for the epub project

simalexan avatar Jun 30 '15 11:06 simalexan