|  04-26-2013, 08:15 AM | #1 | 
| Grand Sorcerer            Posts: 8,003 Karma: 71261339 Join Date: Feb 2009 Device: Kobo Clara 2E | 
				
				Calibre and line spacing
			 
			
			I got a little lost in the Kobo Rocks thread and the line spacing discussion, so I would like to know... Can I use calibre to get tighter line spacing, and still fine tune the line spacing thru the Kobo GUI? What would I need to set on the following screen. Thanks. | 
|   |   | 
|  04-26-2013, 11:52 AM | #2 | 
| Grand Sorcerer            Posts: 8,003 Karma: 71261339 Join Date: Feb 2009 Device: Kobo Clara 2E | 
			
			And this would be in regards to a Touch, Glow and Aura.
		 | 
|   |   | 
|  04-26-2013, 12:01 PM | #3 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			Try setting minimum line height to 100% and see what happens.
		 | 
|   |   | 
|  04-26-2013, 04:28 PM | #4 | |
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | Quote: 
 Regards, David Last edited by DNSB; 04-26-2013 at 07:03 PM. | |
|   |   | 
|  04-26-2013, 04:47 PM | #5 | 
| Groupie            Posts: 153 Karma: 216188 Join Date: Jul 2010 Device: Nook Classic, Kobo Touch, Nook Simple Touch, Kobo Aura | 
			
			You could try in Calibre: Convert books Look & Feel Filter Style Information then in other CSS properties add line-height. | 
|   |   | 
|  04-26-2013, 10:00 PM | #6 | |
| Grand Sorcerer            Posts: 8,003 Karma: 71261339 Join Date: Feb 2009 Device: Kobo Clara 2E | Quote: 
 Thanks. Last edited by John F; 04-26-2013 at 10:04 PM. | |
|   |   | 
|  04-26-2013, 10:04 PM | #7 | |
| Grand Sorcerer            Posts: 8,003 Karma: 71261339 Join Date: Feb 2009 Device: Kobo Clara 2E | Quote: 
 Thanks. | |
|   |   | 
|  04-26-2013, 10:12 PM | #8 | 
| 350 Hoarder            Posts: 3,587 Karma: 8281267 Join Date: Dec 2010 Location: Midwest USA Device: Sony PRS-350, Kobo Glo & Glo HD, PW2 | 
			
			You can force the Kobo to have tighter line spacing by editing the stylesheet.css file for the epub.  120% or 1.2em works well for me.  Once it's within the epub though, the slider to adjust line spacing from the Kobo GUI has no effect, which isn't really a problem if you've set the css correctly to your liking.
		 | 
|   |   | 
|  04-27-2013, 05:52 AM | #9 | 
| Wizard            Posts: 1,178 Karma: 2431850 Join Date: Sep 2008 Device: IPad Mini 2 Retina | 
			
			I use Sigil to set the line-height in the stylesheet, usually on the p tag, e.g., Code: p
{
    line-height: 1.2em;
}Also, some epubs do not use p tags for paragraphs, they may use divs or spans. This is annoying, but with Sigil you can easily check for this. Last edited by ShellShock; 04-27-2013 at 05:56 AM. | 
|   |   | 
|  04-27-2013, 07:08 AM | #10 | |||
| Grand Sorcerer            Posts: 8,003 Karma: 71261339 Join Date: Feb 2009 Device: Kobo Clara 2E | 
			
			I was hoping that someone had already done this and would be able to give a known answer (that could be entered on the window I captured in my first post.) Everyone, thank you for the suggestions, but ... Quote: 
 Quote: 
 Quote: 
  I'm currently using a modified font, so I can get closer line spacing, but I would like to use the internal fonts (once Kobo fixes the italics bug(s).) Thanks. | |||
|   |   | 
|  04-27-2013, 07:33 AM | #11 | 
| Wizard            Posts: 1,178 Karma: 2431850 Join Date: Sep 2008 Device: IPad Mini 2 Retina | 
			
			You can try the code I posted above in the Calibre Extra CSS field, see if it works. It may not, especially if there is already a p tag in the stylesheet. I emailed Kobo support about the problem with italics displaying as bold in epubs for some of their fonts, e.g. Kobo Nickel. Their response was essentially I should use kepub instead, as this is their main platform, and the fonts work OK in kepubs. They do not seem interested in fixing the fonts for epubs. Last edited by ShellShock; 04-27-2013 at 07:36 AM. | 
|   |   | 
|  04-27-2013, 09:40 AM | #12 | |
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | Quote: 
 Regards, David | |
|   |   | 
|  04-27-2013, 03:54 PM | #13 | |
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 | |
|   |   | 
|  04-27-2013, 03:56 PM | #14 | ||
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 Code:  p, div, h1, h2 {
line-height 1.2em
}Quote: 
 | ||
|   |   | 
|  04-27-2013, 08:39 PM | #15 | |
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | Quote: 
 And for anyone who wants to know, the line spacing settings are: 1.3, 1.35, 1.4, 1.6, 1.775, 1.9, 2, 2.2, 3. I have no idea why those numbers, but they have been like this for a while. | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Glo changing line spacing doesnt work, how to fix (with calibre) | irow | Kobo Reader | 21 | 01-01-2022 10:10 AM | 
| Please help with line spacing | henrypartridge | Sigil | 16 | 03-18-2016 11:33 AM | 
| losing line spacing when converting with Calibre | Stensie4JC | Conversion | 9 | 01-23-2011 03:47 PM | 
| 7.34 line spacing??? | JSWolf | Calibre | 18 | 12-19-2010 11:09 PM | 
| Line spacing in Calibre? | leebok21 | Calibre | 7 | 08-10-2008 05:31 PM |