lorenzodifuccia / safaribooks

Download and generate EPUB of your favorite books from O'Reilly Learning (aka Safari Books Online) library.
Do What The F*ck You Want To Public License
4.62k stars 685 forks source link

Graphic Book is not exported correctly #296

Open negmos opened 2 years ago

negmos commented 2 years ago

I'm trying to download the book here. The book is downloaded, but is unreadable. The book is basically a lot of pictures with the text placed on it to provide a graphical description. The tool is processing the graphics/images separately, therefore, the text is not placed on the images afterwards.

0Ky commented 2 years ago

When I'm using Calibre I can see texts on the background images, but they're not aligned properly. I think it's because of the font and size. The background image will not resize with the text when you zoom in or out and there's many .otf fonts that are not fetched from the stylesheet.

A temporary workaround would be using Calibre, hitting the 'T' key to edit the book, click on the chapter you wish to read, then hold CTRL + Mouse Scroll Up/Down to zoom in or out of the file preview. At least this makes everything aligned properly, the only thing missing would be the correct fonts.