janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
13.13k stars 1.4k forks source link

Huge formulas in browser viewer #2720

Open ds-sebastian opened 1 year ago

ds-sebastian commented 1 year ago

Describe the bug/problem I'm seeing huge formulas in multiple books only in calibre-web browser viewer. Sending to kindle and opening on my Oasis looks fine, as well as the original file. This happens with multiple books and on multiple browsers.

To Reproduce Books with formulas using 'Read in Browser - epub'

Logfile [2023-03-15 14:32:55,700] DEBUG {cps.web:1469} Start epub reader for 4 [2023-03-15 14:32:55,802] INFO {cps.web:1159} Serving book: Analytical Skills for AI and Data Science - Daniel Vaughan [2023-03-15 14:33:03,431] DEBUG {cps.updater:329} Stable version: {'version': '0.6.19'}

Expected behavior See screenshot below

Screenshots Example 1: image

Example 2: image

Example 2 - Using calibre viewer (not calibre-web) - Expected behavior: image

Environment:

OzzieIsaacs commented 1 year ago

I think it's a problem with the book reader javascript library calibre-web uses. I'm using this to show the epubs: https://github.com/futurepress/epub.js/, it's seems to not getting updates anymore, so there is nothing I can do currently.