04-18-2014, 05:15 AM | #31 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Solved (firmware patch)
This problem was indeed caused by the epub reader setting the line height in em units. I have found a patch that fixes the problem by making the epub reader use a unitless line height, the same way the kepub reader does.
I've attached a test epub that demonstrates the problem, and screenshots showing the epub at the same line spacing setting without and with the patch. (See these threads in the developer's forum for patching firmware 3.1.1 and firmware 3.2.0.) Last edited by GeoffR; 04-18-2014 at 01:26 PM. Reason: Attached test epub and screenshots |
04-18-2014, 05:10 PM | #32 |
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Nice find.
I learned using line-height:normal in a css also fixes this problem for regular epubs. |
04-19-2014, 09:06 PM | #33 |
Guru
Posts: 769
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Should this patch replace the original patch_name = `My line spacing values` patch?
|
04-19-2014, 09:54 PM | #34 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
04-20-2014, 09:38 AM | #35 |
Guru
Posts: 769
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
|
05-01-2014, 07:59 AM | #36 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
I know that in css, line height can be unitless e.g. 1.2 or can be in ems : 1.2em or can be % e.g. 120% I have been zapping ALL variants so that my Kobo aura HD sliders will work, but do I really only need to zap some of those options from book CSS ? I get a sense from this thread that leaving unitless ones in wil not stop the sliders from working ? is it also the case that sideloaded epub and sideloaded "kepub" via the plug-in will behave identically, for line spacing controls/over-rides ? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Overriding Proportional Spacing | townsend | Sigil | 6 | 05-02-2013 10:22 PM |
Kobo Mini font/line spacing problem | speakingtohe | Devices | 6 | 11-26-2012 01:46 AM |
epub to mobi - keep non proportional font ? | cybmole | Conversion | 6 | 02-06-2011 09:14 AM |
Problem with epub to lrf with changing font size and line spacing | kleinbiker | Calibre | 4 | 12-17-2009 08:55 AM |
How to change the line spacing of a font | IceHand | Bookeen | 29 | 03-07-2009 03:09 AM |