View Single Post
Old 03-31-2017, 03:24 AM   #59
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
How do we multiply all the font sizes? I cannot find the option to do this.
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!

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.

I may give in and do a development install later today, once I see if there's a 2.83 release, but I really hate dealing with Git and code checkouts just to customize one little thing.
Rev. Bob is offline   Reply With Quote