The e-book viewer ignores font-size property when using some absolute lenght units
Bug #1932152 reported by
Michele Galimberti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It seems the calibre viewer ignores the CSS property font-size if the value is expressed in absolute units. I tried "px", "pt" and "cm" and the text remained the same size of a 1em control text. Inches ("in") seem to work correctly. Relative units (I tried "em" and "ex") work as intended. The book was a normal EPUB2 e-book.
An important detail is that the book preview in the e-book Editor works correctly with all units, the problem is limited to the Viewer. Maybe the bug is due to the "new" Viewer from calibre 4.0?
description: | updated |
To post a comment you must log in.
Works fine for me using calibre version 5.21. Try with that, and
remember to reload the book if you have made any changes to it by right
clicking in the viewer and choosing "Reload book"
status invalid