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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2009, 01:36 AM   #1
kleinbiker
Junior Member
kleinbiker began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2009
Device: Sony PRS-505
Problem with epub to lrf with changing font size and line spacing

I am trying to change the font size to 9 as well as change the line spacing to 2 when converting an epub to lrf. I've tried various combinations via the UI as well as through epub2lrf but can only get one of them to happen - either the font size or the line spacing change.

I tried something like
--override-css "p{line-height:2 font-size:8px word-spacing:2.5px}"
in epub2lrf which doesn't work.

In the UI, I tried entering the font size in both the UI option as well as in the CSS override to no avail.

Any idea why this might be.

Thx.
kleinbiker is offline   Reply With Quote
Old 12-11-2009, 03:42 PM   #2
John F
Wizard
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 2,192
Karma: 8421248
Join Date: Feb 2009
Device: Kobo Glo
I'm also trying to do this. In the Extra CSS I put:

p {line-height:12.5}

and try different values for the line height, but the values seem to be ignored.

Can you change the line spacing with epub input and LRF output? It seems to work with other input files/types.

Thank you,
John
John F is offline   Reply With Quote
Old 12-11-2009, 10:49 PM   #3
wygit
Enthusiast
wygit doesn't litterwygit doesn't litter
 
wygit's Avatar
 
Posts: 33
Karma: 112
Join Date: Jul 2009
Device: Sony PRS-505
I found on indents, it was pretty fussy about syntax. It wouldn't accept :
p, div, span, blockquote { text-indent: 0px; }
it needed :
p, div, span, blockquote { text-indent: 0pt; }

OH! wait... on the Preferences page, there's a prefered font size and line height.
THAT's what I used for those settings. They worked fine.
wygit is offline   Reply With Quote
Old 12-14-2009, 09:34 AM   #4
John F
Wizard
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 2,192
Karma: 8421248
Join Date: Feb 2009
Device: Kobo Glo
Can someone help me out. I'm not sure how to use the font size/line height in the latest version.

In a previous version of caliber, 0.5.x, I was able to get a line spacing I liked for LRF output. I set the font size to 10.2, and used the extra CSS I specified in a previous post. In the latest version, I can't seem to get the same results.

I set the following fields:

base font size: 10.2
font size key: 10.2,10.2,10.2,10.2,14,14,16,16
line height: 20.0

No matter what I set the "line height" to (I tried 10, 12.5, 20.5), it doesn't seem to matter, I always get the same line height.

Take a look at the attached input txt file. No matter what I set the line height to, the output LRF file always comes out as 3 pages in the Calibre viewer and 4 pages in the Sony viewer.

Thank you for the help,
John
Attached Files
File Type: txt test.txt (2.8 KB, 89 views)
John F is offline   Reply With Quote
Old 12-17-2009, 08:55 AM   #5
John F
Wizard
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 2,192
Karma: 8421248
Join Date: Feb 2009
Device: Kobo Glo
I'm going to go back to version 0.5.10, as I seem to have better results with that version.

Kovid, thank you for an excellent program! I get a lot of use out of it.
John F 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
EPUB Line spacing Jabby Ectaco jetBook 0 08-30-2010 11:43 AM
ePub - Changing Font size doesn't change page numbers higgs Sony Reader 46 03-26-2010 02:36 PM
html->lrf line spacing between wrong lines? flowoeB Calibre 6 08-21-2009 12:43 PM
How to change the line spacing of a font IceHand Bookeen 29 03-07-2009 03:09 AM
Changing lrf font size Oletros Sony Reader 11 03-19-2008 07:10 PM


All times are GMT -4. The time now is 04:07 AM.


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