edrlab / thorium-reader

A cross platform desktop reading app, based on the Readium Desktop toolkit
https://www.edrlab.org/software/thorium-reader/
BSD 3-Clause "New" or "Revised" License
1.86k stars 157 forks source link

Heading issue in epub #2605

Closed najibullah073 closed 1 month ago

najibullah073 commented 1 month ago

When I adjust the heading sizes in the EPUB—setting H1 to 30pt, H2 to 25pt, and H3 to 20pt—they don’t display correctly in Thorium Reader. All the headings appear as if they are styled like H3, with no visible distinction between the heading levels.

Can you help identify why Thorium is rendering them incorrectly, despite the adjustments in the EPUB file?

llemeurfr commented 1 month ago

Thanks for the message. This is a known limitation of the current Readium CSS (it was too hard at normalizing headings), that will be addressed in the next version of Thorium Reader, v3.1.