Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2014, 11:14 AM   #31
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: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by arspr View Post
Unless you are speaking about another thing, I still cannot replicate your behaviour. I've redone the tests using kobo-ebook.css instead of the book internal css tables and everything continues as I posted before.
Note that kepub-book.css stopped working after firmware 3.2.0. This is why it is necessary to patch the built-in stylesheet in libnickel.
GeoffR is offline   Reply With Quote
Old 12-17-2014, 05:40 PM   #32
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by GeoffR View Post
Note that kepub-book.css stopped working after firmware 3.2.0. This is why it is necessary to patch the built-in stylesheet in libnickel.


(I think there are enough smacks)



(Some more were needed).

I was wrong with one of my first posts. Font-trimming issue is fully dependant on Fullscreen mode. As I thought it wasn't (maybe in the past it wasn't) I've been turning it on/off all the time and therefore I was making mistake after mistake.

I *think* I get it right now:
  • Show header and footer ON (default supported feature):
    • GUI margin at 0 AND body padding in ebook at 0: Trimmed fonts even when the screen has some room. ACCESS doesn't really have a true 0 margin...
    • GUI margin in any other position OR body padding in ebook at any other value: OK, no issues.
  • Show header and footer OFF (aka fullscreen mode, undocumented and unofficial feature):
    • body margin AND padding in ebook at 0: No word trimming bug but you have font trimming bug no matter what you do with the GUI margins.
    • body margin OR padding in ebook at any other value: Word trimming bug. Because of the word trimming bug I cannot evaluate the font trimming bug in the right margin, but looking at what happens in the left:
      • body margin is set at any value, padding in 0:
        • GUI margin in 0: Font trimming bug.
        • GUI margin at any other value: No font trimming bug.
      • body padding is set at whatever value: Font trimming is fixed even with GUI margin = 0.

(Of course when I say "whatever value", it really means "whatever value which gives enough room to the negative side bearing, aka the 'protrusion'")

So as a brief summary (not exhaustive):
  • body padding different than 0 always fixes the font trimming issue.
  • GUI margin different than 0 fixes the font trimming BUT in fullscreen mode.
  • Right now either body margin or padding different than 0 cause the word trimming issue in fullscreen mode.
  • I cannot edit/see the internal code of my "official" DRM kepubs, but the behaviour seems to be exactly the same as in sideloaded ones.
  • Yes, kepub-book.css doesn't seem to work.

GeoffR, could you confirm if you can replicate these, I hope, final scenarios...?

Last edited by arspr; 12-17-2014 at 05:51 PM.
arspr is offline   Reply With Quote
Advert
Old 04-28-2015, 07:34 AM   #33
Varming
Member
Varming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blue
 
Posts: 13
Karma: 13124
Join Date: Feb 2009
Device: Sony PRS-505
Could someone please explain to a noob how to edit this? Is it a setting in Calibre, a file I should find and open in Notepad or what?
Varming is offline   Reply With Quote
Old 04-28-2015, 02:20 PM   #34
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by Varming View Post
Could someone please explain to a noob how to edit this? Is it a setting in Calibre, a file I should find and open in Notepad or what?
Unless you really want to start understanding HTML and CSS, the easiest thing to do to avoid both issues is:
  • Do not use FullScreen Mode. (It's hidden and unofficial so you won't be probably using it). You'll avoid word trimming issue.
AND
  • Set margin slider in Kobo GUI at a value bigger than 0 to avoid the Font Trimming issue.


Speaking of it... I haven't tested the word trimming bug for a while. (My books always have 0 margins to I'm "immune" to it). Has anyone tested it recently?

(I can confirm that the "lesser" font trimming issue is fully active).
arspr is offline   Reply With Quote
Old 04-28-2015, 03:10 PM   #35
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: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Varming View Post
Could someone please explain to a noob how to edit this? Is it a setting in Calibre, a file I should find and open in Notepad or what?
As arspr noted you can avoid the problem by not using full-screen mode. You can also avoid it by sideloading the books as epubs, as the bug only affects the kepub reader. But if you want to read sideloaded kepubs in full-screen mode then the easiest way to avoid the problems is to

1. Create a text file named kobo_extra.css in the root directory of your ereader (I've attached an example kobo_extra.css)

2. In Calibre, customize the KoboTouchExtended plugin (Preferences > Plugins > Device Interface plugins) and tick the "Modify CSS" box.

Thereafter all the kepubs you send to the device from Calibre will have the extra CSS added automatically.

(An alternative, which also works with kepubs synced from Kobo servers, is to patch the firmware and enable the `Fix kepub side bearing font cut off bug` and `Kepub zero body margin/padding` patches.)
Attached Files
File Type: zip kobo_extra_example.zip (484 Bytes, 413 views)
GeoffR is offline   Reply With Quote
Advert
Old 04-29-2015, 02:07 AM   #36
Varming
Member
Varming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blueVarming can differentiate black from dark navy blue
 
Posts: 13
Karma: 13124
Join Date: Feb 2009
Device: Sony PRS-505
Ok, I got it - thanks a lot!
Varming is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Letters of some words are cut off on the right hand side of Calibre screen innogen Calibre 1 12-02-2012 10:10 PM
Kindle 4NT Full-Screen PDF Reading(HELP) CapitainDerya Kindle Developer's Corner 2 09-25-2012 03:45 PM
Possible solution for full screen images erez213 Kindle Developer's Corner 242 06-20-2012 11:15 AM
THE full screen reading irukandji Kindle Developer's Corner 5 08-08-2011 10:21 PM
Gen3 Words "falling off" the screen / sentences cut off (mobipocket) Spektakel Bookeen 6 04-17-2010 11:26 PM


All times are GMT -4. The time now is 05:43 PM.


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