View Single Post
Old 12-22-2018, 03:35 PM   #6
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
Quote:
As a kindness, could you please try creating a couple of <h2>s using the EPUB CSS I posted above and convert it, and see whether the resulting CSS comes out anything like mine?
I did that and your snippet "font-size: x-large;" got converted to 17pt (!!!)

That is unexpected behavior to say the least. CSS keywords are meant to be translated at the user agent level, not in the stylesheet.

[This brings up a related issue: I have found that the Kindle PaperWhite does not handle CSS font-size keywords well. If your device font settings are not the default, the Kindle will display fonts at uncomfortably extreme sizes. I have created a Calibre regex-function which maps keywords to ems. I will post this in the Editor section.]

Last edited by Brett Merkey; 12-22-2018 at 04:39 PM.
Brett Merkey is offline   Reply With Quote