Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2012, 11:09 PM   #16
EldRick
Addict
EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.EldRick is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 378
Karma: 91339
Join Date: Aug 2010
Device: Kobo Mini, Kobo Glo (Sony PRS-950, Nook STR, Kobo Touch, K-DX, K-3)
Agreed. I'm pretty sure that the OP had changed the settings in a book and then found that changing the defaults did not change that book.
EldRick is offline   Reply With Quote
Old 12-06-2012, 02:08 AM   #17
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 1,351
Karma: 2619999
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Quote:
Originally Posted by Granny Luddite View Post
In the conversion options, under Look And Feel, select the "filter style information" tab. Check the "Fonts" box then in the "Other CSS Properties" add "font-size" (Other CSS Properties: font-size, line-height).
Great, thanks! That fixed the problem. It is heavy-handed as you said, (titles become the same size as the text), but line spacing is now adjustable in the same range as for other books. I'll try to fix up the titles by changing some font sizes in the .css file with calibre's "tweak book".

@DNSB: I can't adjust the line spacing in your copy of the book, I tried removing the line-height terms from the .css file but then the double-spacing problem returns.

@EldRick: You are right, I had already changed the line spacing in the book.
GeoffR is offline   Reply With Quote
Old 12-06-2012, 12:00 PM   #18
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,586
Karma: 25107878
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
I have tried the Font-size method as stated by Granny Luddite and it works on some books, and does change all the font sizes to 1em.

What works slightly better for me is to convert the epub to mobi and back again to epub. Most of the larger/smaller font-sizes are retained and the line hieght works although I have not reconverted enough books to say for sure that it will work in all cases.


The books I have done all worked fine before reconverting on the Sony readers and the calibre viewer and still do. But not on the Kobo mini.


Helen
speakingtohe is offline   Reply With Quote
Old 12-06-2012, 02:05 PM   #19
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 1,849
Karma: 5698904
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7, iPad 3
Toast, redux

Quote:
Originally Posted by GeoffR View Post
Great, thanks! That fixed the problem. It is heavy-handed as you said, (titles become the same size as the text), but line spacing is now adjustable in the same range as for other books. I'll try to fix up the titles by changing some font sizes in the .css file with calibre's "tweak book".

@DNSB: I can't adjust the line spacing in your copy of the book, I tried removing the line-height terms from the .css file but then the double-spacing problem returns.
I removed the line spacing and margin settings from the .css file manually and I can change the line spacing and margins using the sliders now. However the line spacing even at the minimum setting is still larger than I normally consider as readable.

The version I uploaded here would not respond to the slider use as it had fixed line spacing and margins. I prefer to have setting them in the stylesheet so I have consistency. I tried running the file through Calibre removing font, margin and line-height and it seems to work on my Glo but again with the minimum line spacing being too large for my tastes.

I've attached a version with line-height and margins removed, the stories in separate files and a few other mods. While some other programs would show the <p><br /></p> items as blank lines, in my experience, the Kobo renderer seems to disregard those lines which mucked up the wide spacing between the segments of the book.

Hmmm... now up to 15 minutes on the file.
Attached Files
File Type: epub toast_mod.epub (236.0 KB, 24 views)

Last edited by DNSB; 12-06-2012 at 02:06 PM. Reason: File? What file? Oh... that file!
DNSB is offline   Reply With Quote
Old 12-06-2012, 04:56 PM   #20
Granny Luddite
Junior Member
Granny Luddite began at the beginning.
 
Posts: 2
Karma: 32
Join Date: Dec 2012
Device: Kobo Mini
Thanks Helen/speakingtohe, it's amazing how well that works. I was able to remove "font-size" and "line-height" from "Other CSS Properties" and was able to adjust both line height and font size, and the final epub displays much nicer on the Mini.

I did check the font box in "filter style information" in the last pass into epub. Don't know if that was needed. Also, I added all the Kobo/Mini specific changes on the mobi to epub pass and not on the original epub to mobi pass. Is that the best way to do the conversion?

Thank again. I'm off to play with some of the other files that had line spacing problems.
Granny Luddite is offline   Reply With Quote
Old 12-06-2012, 09:00 PM   #21
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,586
Karma: 25107878
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by Granny Luddite View Post
Thanks Helen/speakingtohe, it's amazing how well that works. I was able to remove "font-size" and "line-height" from "Other CSS Properties" and was able to adjust both line height and font size, and the final epub displays much nicer on the Mini.

I did check the font box in "filter style information" in the last pass into epub. Don't know if that was needed. Also, I added all the Kobo/Mini specific changes on the mobi to epub pass and not on the original epub to mobi pass. Is that the best way to do the conversion?

Thank again. I'm off to play with some of the other files that had line spacing problems.
You are welcome.

I don't think checking the font box helps in a conversion to mobi or back to epub, as mobi doesn't AFAIK support embedded fonts or numerical font sizes. font-size: 0.77419em; is usually converted to font-size: small; then converted back to font-size: 0.75em; which the Kobo seems to understand.

It seems to be nonstandard font sizes that make the Mini choke anyway.

Oh well, not the most elegant solution, but it seems to work.

Helen
speakingtohe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre doesnt work with lenovo k1 tablet lynt666 Devices 1 11-08-2011 11:16 PM
losing line spacing when converting with Calibre Stensie4JC Conversion 9 01-23-2011 03:47 PM
usb doesnt work, want to use SD only bookeenbart Bookeen 8 02-04-2010 11:16 AM
Problem with epub to lrf with changing font size and line spacing kleinbiker Calibre 4 12-17-2009 08:55 AM
Line spacing in Calibre? leebok21 Calibre 7 08-10-2008 05:31 PM


All times are GMT -4. The time now is 05:06 AM.


MobileRead.com is a privately owned, operated and funded community.