View Single Post
Old 04-05-2024, 07:25 PM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Sirtel View Post
There is no patch for this issue, AFAIK. If you use the <p> tag for paragraphs in the calibre comments, your Kobo will insert an empty paragraph there. I've found that the only way to get around this issue is to replace <p> with <br> in the comments. There may be other ways (I dimly remember trying something with metadata plugboards once), but they haven't worked as well for me.

The line-spacing patch decreases line-height, but it doesn't remove the empty paragraphs Kobo readers insert in book descriptions.
The existing Kobo fw default CSS for the synopsis (all Kobo devices) is
Code:
body {
  font-family: Georgia;
  margin: 0px;
  padding: 0px;
}
plus device-specific values for font-size and line-height
Code:
body[qApp_deviceIs???=true] {
  font-size: ???px;
}
body[qApp_deviceIs???=true] {
  line-height: ???em;
}
All of those are patchable but only the last two have existing patches. Patching the first one should be do-able, other than there isn't infinite space to play with (think keyhole surgery).

An extra bit of CSS code appended to the end of the first item, should suffice to narrow the gap between paragraphs e.g.
Code:
p {margin:.5em 0 0 0;}
jackie_w is offline   Reply With Quote