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 07-24-2010, 02:37 AM   #1
thp1017
Connoisseur
thp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavens
 
Posts: 75
Karma: 13553
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O
CSS and firmware V1.4?

i still haven't gotten around to upgrading to the new firmware, in great part because of formatting tweaks I *know* I can make with the old firmware. So my question is, how are css files processed by the version 1.4 firmware?

I kind of assume that the font-size is now being ignored/overwritten, based on the "fix" to the font-rescaling issues, but has anyone tested this? Line height is the other setting I use all of the time, to remove/minimize the space between lines - I know requests for this in the next revision, but at least pre 1.4 you can I have it set to something like 85-90% of the font-size, and am quite happy.

It sounds like justification and probably other similar settings are still processed, (based on comments in other threads), but I'd be love to hear about other tags that are or aren't being ignored!
thp1017 is offline   Reply With Quote
Old 07-24-2010, 10:14 PM   #2
HamsterRage
Evangelist
HamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notesHamsterRage can name that song in three notes
 
HamsterRage's Avatar
 
Posts: 435
Karma: 24326
Join Date: Jun 2010
Device: Kobo
I haven't seen anything odd happening along those lines since I upgraded. Everything works as expected.
HamsterRage is offline   Reply With Quote
Old 07-25-2010, 05:39 AM   #3
thp1017
Connoisseur
thp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavens
 
Posts: 75
Karma: 13553
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O
oh, I wasn't thinking so much in terms of "odd" things happening, more like how much ability will I have to tweak the formatting

Right now, I'm set the font-size at about 80-90% of what "smallest" is, and line-height about 90% of the font size - so I get something like the attached:
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	140
Size:	379.1 KB
ID:	55658  
thp1017 is offline   Reply With Quote
Old 07-25-2010, 02:33 PM   #4
fab0109
Junior Member
fab0109 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: kobo
hello

if you share your css, i can test it on 1.4

i like to know how to modify line spacing ?


Fabrice
fab0109 is offline   Reply With Quote
Old 07-26-2010, 05:51 AM   #5
thp1017
Connoisseur
thp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavens
 
Posts: 75
Karma: 13553
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O
Okies, here's a sample e-pub that I've formatted (available via the Baen Free Library) by David Weber, along with a screenshot of how the first page of Chapter 1 looks...

As far as the spacing, you can use the "line-height" tag with calibre to set it - so I might do a base-font-size of 13, and a line-height equal to 11. The problem I saw with doing it this way is a calibre seems to apply line-height specified this way universally - so around the chapter headings, etc, it decreases the line height as well. Instead, I've specified the line-height in html.css, which calibre uses for default values, under the defaults for the paragraph tag. Definitely helps

I think the "smallest" font size is 15pt, but that is the only one I've ever figured out - I've found that setting the line-height at 85-90% of the font size works really well for me, but you can test and see what you think.
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	110
Size:	542.1 KB
ID:	55742  
Attached Files
File Type: epub Weber, David - Honor 01 On Basilisk Station.ePub (522.9 KB, 84 views)

Last edited by thp1017; 07-26-2010 at 07:39 AM.
thp1017 is offline   Reply With Quote
Old 07-26-2010, 05:25 PM   #6
fab0109
Junior Member
fab0109 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: kobo
thanks for the tips

i am not able to reproduce exactly the screenshot (calibre 0.7.10)

the Chapter one is 8 on 364 ??

With 13 (base) and 11 (line) , i have 3 less line

But with 10 (base) and 8 (line) i have 13 lines more

Last edited by fab0109; 07-26-2010 at 05:36 PM.
fab0109 is offline   Reply With Quote
Old 07-26-2010, 06:11 PM   #7
thp1017
Connoisseur
thp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavensthp1017 is a rising star in the heavens
 
Posts: 75
Karma: 13553
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O
Yeah, so I ended up setting the line height in: Calibre2/resources/templates/html.css
so I have:

p, dl, multicol {
display: block;
margin: 1em 0;
line-height: 0.92em;
}

and then call calibre with just the font-size of 13 - which results in a font-size of 1.0833em, and a ratio of about 85% line height to font-size.

But it sounds like you can still override the font size, you aren't stuck with what the kobo display thing provides?

thanks for your help!
thp1017 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
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 110 08-02-2013 04:33 PM
css exceptions Iain ePub 7 10-08-2010 04:45 AM
Standardised CSS? MacEachaidh Sigil 5 08-09-2010 12:18 PM
help with css bobcdy ePub 2 02-13-2010 12:59 PM
Help with CSS, anyone? rogue_ronin Workshop 36 08-14-2009 10:28 PM


All times are GMT -4. The time now is 07:50 PM.


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