Bug 707719

Summary: Mis-rendered epubs
Product: MuPDF Reporter: Krzysztof Kowalczyk <kkowalczyk>
Component: epubAssignee: MuPDF bugs <mupdf-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: P2    
Version: master   
Hardware: PC   
OS: Windows 10   
Customer: Word Size: ---

Description Krzysztof Kowalczyk 2024-04-04 23:25:29 UTC
Originally reported at https://github.com/sumatrapdfreader/sumatrapdf/issues/4035

Repro files: https://www.warhammerdigital.com/Downloads/Product/ePub%20and%20MOBI%20Extracts/T/60042799001-WHTOW-Eng-Rulebook-EPUB-2024-PREVIEW.epub

https://www.blacklibrary.com/Downloads/Product/ePub%20and%20MOBI%20Extracts/M/Extract-Macragges-Honour-2019.epub

They have peculiar CSS: they set gigantic font sizes and gigantic size for the div, placing each string at an absolute position, presumably hoping it'll get scaled down to the size of the page, overlaying the image.