View Single Post
Old 03-31-2017, 06:47 AM   #61
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,993
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rev. Bob View Post
It's in the editor's CSS filtering command, which I tried out yesterday. After looking at a random chapter in the book to find a standard body-text class, I went into the stylesheet to see what the associated font size was - in this case, 0.83em. Then I opened the filter dialog, which lets you specify a CSS property, value ranges, and what to do with whatever matches the spec. I selected font-size, any value, Multiply by, and whatever the reciprocal of 0.83 is. (In retrospect, I should've just said Divide by 0.83. Same effect.) Push the button, and off it goes!
Thanks. That really helps.

Quote:
It won't correct for situations where, for instance, vertical margins are set to interact with the text size to produce a specific result (such as using a 1.33em margin with 0.75em text to get a 1em gap) - but hey, it saved me from a lot of manual calculations. Granted, I still went through the stylesheet and performed some smart truncation - such as changing 1.000001em to remove the fraction - but that's just me being fiddly.
That's just whoever made the eBook being sloppy.
JSWolf is offline   Reply With Quote