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

Render EPUBs with a different renderer (Servo/etc)? #362

Open
arjpar opened this issue Apr 26, 2024 · 0 comments
Open

Render EPUBs with a different renderer (Servo/etc)? #362

arjpar opened this issue Apr 26, 2024 · 0 comments

Comments

@arjpar
Copy link

arjpar commented Apr 26, 2024

It is now possible to embed Servo using QT [1]. Servo is also written in Rust, as I'm sure you know. Would it be possible to replace the built in EPUB renderer with Servo's HTML/CSS engine? Yes, Servo is still in active development, but I believe for EPUBs which is just HTML/CSS Servo may be stable enough. This would provide access to various HTML & CSS features that are in the EPUBv3 specification that Plato's built-in renderer does not support yet.


Another option could be using mupdf-rs. I know you rejected using mupdf-rs instead of using your own wrapper due to concerns about binary size (in previous issue #257)

Edit: It has come to my attention MuPDF doesn't have a built in EPUB renderer. Perhaps Servo would suffice but stability might be a (big) issue.

Here could be some ideas:

@arjpar arjpar changed the title Render EPUBs with Servo? Render EPUBs with a different renderer (MuPDF/Servo/etc)? Apr 28, 2024
@arjpar arjpar changed the title Render EPUBs with a different renderer (MuPDF/Servo/etc)? Render EPUBs with a different renderer (Servo/etc)? May 13, 2024
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

1 participant