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 05-11-2010, 10:10 PM   #16
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by corona View Post
I think you have way more experience with this than I do, but my experience so far doesn't support this. In every case where I've gone in and carefully edited the stylesheet, the ePub still looked nasty, so I've gone back and nuked the stylesheet and then it's been okay.

And the reading experience anyhow is often less than perfect. I've got one pdf book, for example, that just comes out unreadable no matter what after conversion and fiddling around.
What I do is take the purchased ePub, strip the DRM and go in and fix the CSS so the ePub looks good. And sometimes I do remove CSS instructions for font sizing. This is not for an issue with changing the font size. It's because most of the time, the publisher uses too small a size. If I was to just delete the CSS, I'd have an eBook I would not want to read.

PDF is not a good format to convert from to anything else. You WILL have errors. And the only way to get rid of the errors is to do an A/B compare. Not worth the time/effort (IMHO).
JSWolf is offline   Reply With Quote
Old 05-11-2010, 11:01 PM   #17
ttluisa
Enthusiast
ttluisa began at the beginning.
 
Posts: 33
Karma: 30
Join Date: May 2010
Device: kobo, kindle 3
Quote:
Originally Posted by SensualPoet View Post
However well intentioned you may be, thekidintheclock, am I the only one here that finds it disturbing someone is offering code to "fix" something the "thekidintheclock" programmer cannot test?

Are you aware that the 100 "free" ebooks on the Kobo aren't stored there as discrete ePubs at all?

Deleting the stylesheet in an ePub destroys the ePub -- let's not beat around the bush! You end up with one long text file. That is no longer an "e-book", it's an "e-text".

Those of us who have actually purchased a Kobo, let's all have a little patience and thoroughly enjoy reading the material at hand that works while the "men and women behind the curtain" go about fixing this flaw.

I fear that home brew solutions made in the heat of the moment ultimately make things worse for the end user, not better.
I don't see any mention of the 100 free ebooks in the original post and I don't see it disturbing at all. Somebody is just trying to help. Many people may have enough experience with epub to deal with the stylesheets thing either delete it or edit it, but from what I've heard many other people don't even have a clue what was wrong. The little tool that the OP offered does give us a choice to whether delete the stylesheets or edit it. It may be the best to wait for the kobo firmware but as for now this little tool is the best option to allow us to be able to read those fancy formatted books. I may end up reading a long text file(which still has some basic format) but I'm happy reading it without the need of a magnifier. As for myself, I appreciate the OP's hard work.
ttluisa is offline   Reply With Quote
Old 05-11-2010, 11:04 PM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I don't see a problem with removing the size lines from the CSS to get the ePub to be able to be readable. But deleting the CSS is a bad idea. So please, don't remove the CSS. Badger Kobo to get it fixed.
JSWolf is offline   Reply With Quote
Old 05-12-2010, 12:09 AM   #19
thekidintheclock
Member
thekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipse
 
thekidintheclock's Avatar
 
Posts: 22
Karma: 8040
Join Date: May 2010
Device: Kobo
my apologies guys - i agree that you probably shouldn't go around deleting your "css"es and that kobo will probably fix the bug soon. i was mostly just curious if i could understand the epub files and write something to save people time who are going through all the tedious renaming. this is just a little temporary dealie.
thekidintheclock is offline   Reply With Quote
Old 05-12-2010, 12:22 AM   #20
corona
Addict
corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.corona knows what's going on.
 
corona's Avatar
 
Posts: 324
Karma: 25168
Join Date: May 2010
Device: kobo
Quote:
Originally Posted by ttluisa View Post
Somebody is just trying to help...
Totally! And as for me, all I care about is readability. If I just get one relatively unformatted page of plain-vanilla text after another, all the better! The documents and books I've been converting to ePub don't have diagrams or anything fancy in them. And as I've said, in my admittedly limited experience, deleting the stylesheet is what gets the job done. Ooh; I hope that's not too assertive or anything. I just think the kid in the clock there did a helpful thing, and if you don't want to delete the stylesheet, you don't have to click in the box.

Oh, and you're right: Kobo headquarters should get this fixed (and presumably will!).

Last edited by corona; 05-12-2010 at 12:24 AM. Reason: added final admonition
corona is offline   Reply With Quote
Old 05-12-2010, 01:31 AM   #21
Thrasher
Groupie
Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.Thrasher ought to be getting tired of karma fortunes by now.
 
Posts: 156
Karma: 1003934
Join Date: Apr 2010
Location: Canada
Device: Nook Wifi
Seems like a nice tool. What would be nice is if you could add the option of batch embedding of fonts into epubs so foreign characters display properly.
For example adding this to the stylesheet.css file:
Code:
@font-face {
  font-style: italic;
  font-family: 'Liberation', serif, sans-serif;
  font-weight: normal;
  src: url(LiberationSerif-Italic.ttf);
  }
  @font-face {
  font-style: normal;
  font-family: 'Liberation', serif, sans-serif;
  font-weight: normal;
  src: url(LiberationSerif-Regular.ttf);
  }
  @font-face {
  font-style: italic;
  font-family: 'Liberation', serif, sans-serif;
  font-weight: bold;
  src: url(LiberationSerif-BoldItalic.ttf);
  }
  @font-face {
  font-style: normal;
  font-family: 'Liberation', serif, sans-serif;
  font-weight: bold;
  src: url(LiberationSerif-Bold.ttf);
  }
and then copying these fonts into each epub:

LiberationSerif-Regular.ttf
LiberationSerif-Italic.ttf
LiberationSerif-BoldItalic.ttf
LiberationSerif-Bold.ttf

According to this thread
Thrasher is offline   Reply With Quote
Old 05-12-2010, 02:32 AM   #22
Stinger
Asha'man
Stinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-books
 
Stinger's Avatar
 
Posts: 335
Karma: 844
Join Date: May 2010
Location: Canada
Device: Kobo
Quote:
Originally Posted by corona View Post
Totally! And as for me, all I care about is readability. If I just get one relatively unformatted page of plain-vanilla text after another, all the better! The documents and books I've been converting to ePub don't have diagrams or anything fancy in them. And as I've said, in my admittedly limited experience, deleting the stylesheet is what gets the job done. Ooh; I hope that's not too assertive or anything. I just think the kid in the clock there did a helpful thing, and if you don't want to delete the stylesheet, you don't have to click in the box.

Oh, and you're right: Kobo headquarters should get this fixed (and presumably will!).

+1 to this sentiment.
A lot of the ebooks I've converted for my Kobo have been from nice HTML rips that used standard tags over customizing things heavily in the css. Chapter headings were wrapped in <h3> tags, bolds and italics in their own HTML tags, etc. Just about the only thing I've lost is justification, and indentation in certain cases. And removing the font-size: lines manually fixes those problems if I want to take the time to do that.


Also a suggestion for this tool. Since there is a bug ATM where file names with an apostrophe can trigger the "Content is Locked" ADE message, it might be nice if you added an option to remove them from your output file names. I know its a pretty small thing, I only mention it because it would take all of a couple minutes to implement.
Stinger is offline   Reply With Quote
Old 05-12-2010, 06:37 AM   #23
JCSullivan
Chief Inspector Gamache
JCSullivan began at the beginning.
 
JCSullivan's Avatar
 
Posts: 123
Karma: 12
Join Date: May 2010
Location: Canada eh!
Device: Viewsonic
Well, you know what you (know who you are) might be happy as a pig in crap to read your off-the-shelf epubs but I ain't.

The reason I bought the Kobo was to be able to read pdf and no matter what I've done whether using Adobe itself, Calibre or Word I still can't read pdf properly.

Frustration has finally set-in so, I've decided to return TODAY, if I can, and wait for the fix. I've way waited too much time to deal with THEIR mistake.
JCSullivan is offline   Reply With Quote
Old 05-12-2010, 07:29 AM   #24
Stinger
Asha'man
Stinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-booksStinger has learned how to read e-books
 
Stinger's Avatar
 
Posts: 335
Karma: 844
Join Date: May 2010
Location: Canada
Device: Kobo
I don't know what problem you're referring to JCSullivan, but it seems you're more pissed about the nature of PDF's and not the Kobo itself.

PDF's were designed for publishing/printing purposes, and as such uses absolute positioning based on the page size... which makes in inherently unfriendly to 'reflow' concepts like font resizing. Essentially, PDF's are made to be 1:1 digital copies of print material.

So taking PDF's that are created with a standard page size, and viewing them on a smaller screen like the Kobo's is probably not ever going to be elegant. You're probably always going to be limited to simple zooming and panning.

The only way around this is creating the PDF's so the page size is as small as the Kobo screen. Since most of my master copies of my books are HTML (epub is just HTML/XML wrapped in a zip container), cooking a PDF with an appropriate page size is easy, and reading on the Kobo doesn't require panning around.

Of course, if your master copies are already PDF's, this won't be very helpful to you. Which is exactly the reason I try very hard to avoid PDF's as master copies for ebooks.
Stinger is offline   Reply With Quote
Old 05-12-2010, 09:17 AM   #25
dantaipan
Enthusiast
dantaipan began at the beginning.
 
Posts: 29
Karma: 10
Join Date: May 2010
Device: kobo
Quote:
Originally Posted by JSWolf View Post
I don't see a problem with removing the size lines from the CSS to get the ePub to be able to be readable. But deleting the CSS is a bad idea. So please, don't remove the CSS. Badger Kobo to get it fixed.
It's not just the font-size property in the css that is creating display issues. I had an epub that had margins set to "0%" in each chapter/html file. Kobo choked on the 0% and added huge margins.

For books, I have been appending the stylesheet file name with ".bak" so that if they do sort the problem out I can revert it back. IMO it looks like the kobo applies it's own css to HTML elements which conflicts with any local css. What it should do is first look to see if there is css local to the epub for each element and if so use that and not try to apply it's own styles.
dantaipan is offline   Reply With Quote
Old 05-12-2010, 09:23 AM   #26
Turt99
Connoisseur
Turt99 began at the beginning.
 
Posts: 92
Karma: 14
Join Date: Apr 2010
Device: Kindle Paperwhite
Quote:
Originally Posted by dantaipan View Post
IMO it looks like the kobo applies it's own css to HTML elements which conflicts with any local css. What it should do is first look to see if there is css local to the epub for each element and if so use that and not try to apply it's own styles.
I would agree with this, I've found that it depends on what type of HTML tag you have the font-size set on, so it would make sense that its because the Kobo is applying its own styles for some tags.
Turt99 is offline   Reply With Quote
Old 05-12-2010, 11:50 AM   #27
ttluisa
Enthusiast
ttluisa began at the beginning.
 
Posts: 33
Karma: 30
Join Date: May 2010
Device: kobo, kindle 3
Quote:
Originally Posted by JCSullivan View Post
Well, you know what you (know who you are) might be happy as a pig in crap to read your off-the-shelf epubs but I ain't.
Is it just me being sentimental or what because I found your first line pretty offensive.
ttluisa is offline   Reply With Quote
Old 05-22-2010, 09:23 PM   #28
artificial
Groupie
artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.artificial got an A in P-Chem.
 
artificial's Avatar
 
Posts: 179
Karma: 6328
Join Date: May 2010
Location: Melbourne, Australia
Device: Kobo eReader
Thanks for creating this application! It looks much less tedious than renaming/expanding/editing/resaving each epub manually!

artificial is offline   Reply With Quote
Old 05-25-2010, 11:42 AM   #29
PERTU
Junior Member
PERTU began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2010
Device: Kobo eReader
I tried both of your epub fixers but I get this error:



BTW I'm on Windows 7 x64.
PERTU is offline   Reply With Quote
Old 05-25-2010, 02:24 PM   #30
thekidintheclock
Member
thekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipsethekidintheclock can illuminate an eclipse
 
thekidintheclock's Avatar
 
Posts: 22
Karma: 8040
Join Date: May 2010
Device: Kobo
PERTU - Try this one.

http://dl.thekidintheclock.com/u/514...ixer-PERTU.zip
thekidintheclock 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 Font Size Question Amalthia Calibre 15 01-03-2011 01:20 PM
Smashwords to Kobo -- font size DArenson Kobo Reader 6 07-09-2010 12:44 AM
Ideal base font size for ePub? eosrose ePub 5 05-28-2010 12:45 AM
epub font size on 505 Waltarro Calibre 0 03-05-2010 12:13 AM
Increase font size of epub? pennpin PocketBook 0 11-25-2009 05:41 PM


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


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