• Resolved maetthew

    (@maetthew)


    Hi,

    So after you fixed my last bug report, I managed to export an e-book in the epub format. It looks like the export went fine, but when trying to read it on my e-reader (Kobo Libra H20), it’s basically only readable in the smallest font size. If I try to increase font size, the lines overlap, and changing the line spacing setting within the reader does virtually nothing. It seems that maybe it changes spacing between paragraphs, but not between individual lines. Not sure if I’m doing something wrong or there’s a bug here?

    I’ve tried with both EPUB 2.0 and 3.0.

    Can provide video if needed.

    Thanks in advance,
    Mattias

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter maetthew

    (@maetthew)

    So I had a quick look at the style.css in the exported ePub, and it seems changing line-height on p from absolute px to relative em at least solves the problem and the lines are no longer overlapping when changing font size. Can’t really tell if changing line spacing does anything though, I’ve never had to change it any book I’ve read so I’m quite unsure how much it’s supposed to affect things.

    I don’t really know how either ePub or e-readers work, but shouldn’t all units be expressed in relative terms instead of absolute?

    • This reply was modified 3 years, 1 month ago by maetthew.
    Plugin Author ferranfg

    (@ferranfg)

    Hi @maetthew thanks for your message. Yes, em seems the good choice but I’ve experienced mixed results on my testings using it, so not 100% sure how to tackle this.

    Anyways, I think it would be best to double-check this em thingy so I will dig deeper at it the following days.

    Thread Starter maetthew

    (@maetthew)

    I think either em or rem should be the way to go, atleast in theory with my knowledge of CSS and e-books. Not sure if there’s any quirks in ePub especially that might be contradictory here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Epub not honoring line spacing on e-reader’ is closed to new replies.