09-12-2009, 06:40 PM | #1 |
Wizard
Posts: 1,648
Karma: 17163744
Join Date: Sep 2008
Device: Kobo Clara 2E
|
Changing paragraph spacing in DRMed epub?
Having discovered Shortcovers new ePub support, I tried checking one of the free Suvudu novels, to see how it looks.
So I checked Elric: The Stealer of Souls. The same novel is available in the LRX format at the Sony eBook store. The first thing I noticed when opening the ePub is that paragraphs have spacing between them. This may be a matter of opinion, but I don't like it. It makes less room for text on a page, and "Real" "paper" books use indentation instead of vertical spacing to differentiate paragraphs. The default style-sheet in the ADE renderer probably has the standard margin rule of "p { margin: 1em 0; }". Changing that to "0em" should do the trick. The problem is, the file is DRMed. The CSS file and all of the html files that refer to it are encrypted. Is there any way, without circumventing the DRM, to change that formatting? I checked the free Perdido Street Station and it suffers from the same problem (BTW, The epub of the UK edition has the "correct" paragraph style). Is this how most ePubs are formatted? I know Feedbooks ePubs are. I have a feeling all of the LRFs on the Sony Store that will soon be available as ePub are going to suffer from this problem. |
09-12-2009, 06:53 PM | #2 |
The Grand Mouse 高貴的老鼠
Posts: 72,150
Karma: 308792702
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
Advert | |
|
09-13-2009, 04:28 PM | #3 |
frumious Bandersnatch
Posts: 7,531
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
09-14-2009, 03:49 PM | #4 |
Groupie
Posts: 184
Karma: 300001
Join Date: May 2009
Device: 505
|
ADE doesn't, but the Sony software does, for sure with the Library software and possibly with the reader. Unfortunately the reader would require flashing if it does work.
For the Sony application go to C:\Program Files\Sony\Reader\Data\bin and create the path adobe\pxf\ there and put a file named userStyle.css in there to override default epub styles. On the reader you'd probably put that path and file in the FSK partition image at /sony/ebook/application (best to create a symlink to user accessible memory and put your real stylesheet there so you can change it without further flashing). The official ADE application also contains a reference to res://adobe/pxf/userStyle.css like the sony software but I haven't managed to make it use it. |
09-15-2009, 06:48 AM | #5 |
Wizard
Posts: 1,648
Karma: 17163744
Join Date: Sep 2008
Device: Kobo Clara 2E
|
Thanks for the info, Who are you?!
wallcraft has started another thread on user stylesheets. I'll start another thread in the Sony forum. I never fiddled with the device's firmware and partitions, and would prefer if someone more experienced has experimented with it. Sounds promising! |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paragraph spacing | jhempel24 | Calibre | 5 | 08-24-2010 12:14 AM |
Questions about <p> and <div> and paragraph spacing | droople | Sigil | 7 | 08-14-2010 12:03 PM |
Problem with epub to lrf with changing font size and line spacing | kleinbiker | Calibre | 4 | 12-17-2009 08:55 AM |
Indentations & Paragraph Spacing Loss | Dis | Sigil | 6 | 12-03-2009 02:18 PM |
Paragraph spacing when creating eBooks? | gwynevans | Workshop | 21 | 04-24-2009 11:01 AM |