View Single Post
Old 03-29-2020, 04:17 PM   #1
mwexler
Member
mwexler began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2013
Device: None yet
4.x Viewer Line Spacing?

Hi, longtime 3.x user who finally upgraded to 4.13. Lots of things are faster and smoother, so thanks Kovid!

The biggest struggle I'm having is with the new Viewer. I got the toolbar and scrollbar back, configured my bottom row for page depth, and put it into Page (not flow) mode so it basically looks like 3.x (I do miss my page flip, but que cera).

But my epubs all seem really tightly line spaced in the new viewer. I tried a bunch of CSS snippets from the massive CSS thread (https://www.mobileread.com/forums/sh...ad.php?t=51500) (line-spacing, line-height) but none of them seemed to impact my test books. These are DRM free baen books, so I'm sure they have some CSS of their own, but still...

So, questions:
1) With an open book in the viewer, I add body {line-height:100 !important;} to the viewer in the text box under Preferences>Styles, but I don't see any difference in the book text. I've also verified in the Inspector that these values are appearing. No linespace change. Any suggestions? I'm sure I'm doing something wrong... Perhaps some additional "selectors" or tags or something?

2) How does using the "font size" controls affect this? Will whatever spacing I create grow appropriately as I increase font size, or should I just learn to squint more?

3) Are these style edits saved per book, or is this a systemwide viewer change? Would be nice not to have to do for every book, but would also be cool to have a way to have different overrides for specific book variables (this publisher may do something bad, or this series all has odd drop caps that screw up the flow, etc.). (I know, if it's just a single problematic book, edit the CSS manually in the editor, but I'm not that good yet!)

So, thanks for any suggestions!

Michael
mwexler is offline   Reply With Quote