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 02-04-2018, 09:28 AM   #1
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Text cut off on right/left on full screen option despite fix

Hi

I'm running firmware version 4.7.10413 on a Kobo Aura one.

If text is cursive, some letters such as the f are cut off when they are at the end or beginning of a line. This is despite having the kobo_extra.css fix in place, with the following lines:

Code:
body { margin: 0 !important; padding: 0 !important; }
div#book-columns { padding-left: 0.2em !important; padding-right: 0.2em !important; }
Does something need to be changed for this firmware? In the past, with older firmwares, the cut off text was fixed with these css overrides. (I prefer to not patch the reader firmware itself.)

Thanks for your time
Katsunami is offline   Reply With Quote
Old 02-04-2018, 01:02 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,183
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Disable full screen mode.
PeterT is offline   Reply With Quote
Advert
Old 02-04-2018, 02:02 PM   #3
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: 74,097
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You'll need to go into the Kobo developer's forum and get the patches and a copy of the firmware for your KA1. Then you can patch to fix the full screen problem you are having with kepub.
JSWolf is offline   Reply With Quote
Old 02-04-2018, 06:21 PM   #4
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
WTH....

One person suggests turning off the full screen option, which would decrease the amount of text on screen to the point that I could actually just use my old KPW1, and the other suggests installing patches, which I specifically stated I don't want to do.

Let me rephrase the question.

Has something changed in recent firmwares, which has broken the above CSS-code in some way, and if so, does someone know the solution?
Katsunami is offline   Reply With Quote
Old 02-04-2018, 06:32 PM   #5
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: 74,097
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I gave the solution. Patches.

You want patch_name = `Fix three KePub fullScreenReading bugs` in libnickel.so.1.0.0.patch.

Last edited by JSWolf; 02-04-2018 at 06:35 PM.
JSWolf is offline   Reply With Quote
Advert
Old 02-04-2018, 07:13 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Katsunami View Post
WTH....

One person suggests turning off the full screen option, which would decrease the amount of text on screen to the point that I could actually just use my old KPW1, and the other suggests installing patches, which I specifically stated I don't want to do.

Let me rephrase the question.

Has something changed in recent firmwares, which has broken the above CSS-code in some way, and if so, does someone know the solution?
Not that I have heard of. To the best of my knowledge, the only way to fix the cut-off characters reliably was to use the patch. But, if there might be some discussion in the patch thread that indicates what changed. Or comparing the patches from the last time this worked to now might show what has changed.

Also, you might want to check a recent book sent to make sure the CSS was added. I don't use this function of the driver myself, so if it was broken somehow, I probably wouldn't notice. Or, maybe you disabled the option at some point.

Other than that, try fiddling with the padding and see if making it a bit bigger helps.
davidfor is offline   Reply With Quote
Old 02-04-2018, 07:23 PM   #7
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Thanks, David. I've only seen this issue with one book, and only because it has some chapters in cursive (which they should be), so they fill the screen. I'll check the options in Calibre and resend a book, and see what happens. I've not changed my calibre options in ages, but I do update it, and the plugins regularly.
Katsunami is offline   Reply With Quote
Old 02-04-2018, 07:33 PM   #8
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,148
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
What do you mean cursive? A custom embedded font?

You might have to increase the left and right padding values. The value of 0.2em is used in the patches, (and my .css example) simply because that seems to be enough margin to avoid the problem, but other fonts might need more.

My css is a little different from yours.. I haven't examined in detail to see what the difference would be, but I use:

body {
margin: 0 !important;
padding: 0 !important;
}

body>div {
padding-left: 0.2em !important;
padding-right: 0.2em !important;
}

And for those suggesting that patches are the answer, pls take a moment to actually read the patches and see what it actually does?

Last edited by rashkae; 02-04-2018 at 07:35 PM.
rashkae is offline   Reply With Quote
Old 02-04-2018, 07:49 PM   #9
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: 74,097
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
One reason the patches are the answer is that you then don't need extra CSS. It's just fixed on the Reader.

There are other things you can fix/change with kepub with the patches.
JSWolf is offline   Reply With Quote
Old 02-04-2018, 08:15 PM   #10
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Quote:
Originally Posted by rashkae View Post
What do you mean cursive? A custom embedded font?
Sorry

Just italics. I just translated the Dutch word into English by mistake.
Katsunami is offline   Reply With Quote
Old 02-04-2018, 08:45 PM   #11
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
There are some books where the 0.2em in this stylesheet modification isn't enough:
Code:
div#book-columns {
 padding-left: 0.2em !important;
 padding-right: 0.2em !important; 
}
I think the most common case would be where the font-size at the paragraph level is set much larger than 1em / 100%. This can happen if you convert the book format with Calibre's "Font Size Rescaling" conversion option enabled, so make sure that option is turned off.

However some publishers used Calibre to create the original book, and so the font-sizes might have been rescaled already. In that case all you can really do is increase the padding in the stylesheet modification above to compensate. 50% increase (0.2em to 0.3em) should be enough in most cases, but sometimes 100% (0.2em to 0.4em) might be needed. I don't know any automatic way to reverse the effects of font size rescaling, and it can be quite a bit of work to do it manually.

(There can be other issues with some books too, such as embedded fonts with highly sloped italics, or the publisher has done something stupid like set negative left/right margins on paragraphs.)
GeoffR is offline   Reply With Quote
Old 02-04-2018, 08:56 PM   #12
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,148
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Quote:
Originally Posted by Katsunami View Post
Sorry

Just italics. I just translated the Dutch word into English by mistake.
And you say the it cuts off Left side as well as right? What you describe sounds like the problem that shows when the body margin is not 0.. but that would mean your css override is not working.

Try copying the book file off of the Kobo itself, rename the file extension to .zip. extract it, and examine the css file directly to make sure the Kobo driver successfully appended the code.

Edit: On second thought,if that were the case, it would affect all the text in the book, not only the italics paragraphs. Nothing more to do but look at the actually css of the paragraphs in involved to see what's going on. I'm Liking Geoffr's theory of negative margins. In the original book, a margin in the body of the text, and a negative margin on the italicized paragrah, could have been used to make that text appear wider than the rest. But forcing the body margin to 0 would then push the negative paragraph margins off the page.

Last edited by rashkae; 02-04-2018 at 09:06 PM.
rashkae is offline   Reply With Quote
Old 02-04-2018, 09:16 PM   #13
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
To be practical, if the problem only occurs with the occasional book then the easiest work-around might just be to select a different font to read those books, one that has fairly upright italics and doesn't have characters with large side-bearings. (the built-in Amasis font could be a good choice.)

Last edited by GeoffR; 02-04-2018 at 09:19 PM. Reason: ... to read those books ...
GeoffR is offline   Reply With Quote
Old 02-05-2018, 05:22 AM   #14
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Thanks all. Today I'm going to check if the driver actually appends the CSS. I've seen the problem only with one book lately, and only because it has entire chapters in italic (part introductions). If it's one book in a long while that might have this problem, and everything else is working fine, I'm not going to change anything.
Katsunami is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List numbers cut off when text is enlarged! How to fix? fluoresce ePub 2 05-10-2017 12:55 PM
Text still full justifying on iPad, even through style says align left SamL ePub 13 04-20-2017 10:24 PM
How to show position in book in top left and full screen as a percentage mastershakecup Calibre 0 11-29-2015 11:03 AM
CSS solution for words cut-off in kepub full screen reading scoky Kobo Reader 35 04-29-2015 02:07 AM


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


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