View Single Post
Old 12-16-2014, 01:43 PM   #24
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 PeterT View Post
Saying it only happens in kEpubs is rather misleading. Does this happen in OFFICIAL kEpubs as well as user created ones?
Yes it does, I'm just looking at a cut-off "f" in the right margin in an official DRMed kepub: "Final Empire" by Brandon Sanderson.

Quote:
Originally Posted by GeoffR View Post
In summary, as I see it: there are two seperate problems discussed in this thread:

1. Text gets cut off at the right, as if the whole screen has been shifted right. Only happens with kepubs in full-screen mode that have a non-zero body margin.
Ok, but we don't know the trigger... (read ahead).


Quote:
Originally Posted by GeoffR View Post
2. Certain characters (such as j,f) get cut off (left or right). Can happen with kepubs in either mode.
Exactly, but I would have said "happens" rather than "can happen".

Quote:
Originally Posted by GeoffR View Post
Problem 1 is solved by setting the body margin to zero. As far as I have seen official kepubs have a zero body margin already, but Calibre-created ones might not.
More testing is needed. I mean, scoky has tested that that margin: 0 setting fixes the issue. But we still don't know WHY/WHEN/HOW it happens. I mean that, as I said in the fourth post, I have TONS of book without any kind of margin setting and the bug doesn't appear in them.

Quote:
Originally Posted by GeoffR View Post
Problem 2 is solved by adding padding to a wrapper div. Official kepubs come with the necessary wrapper, but it lacks padding. Calibre-created kepubs are missing the wrapper altogether. (There is now a firmware patch to add padding to the wrapper, but it only works with official kepubs because Calibre-created ones lack the wrapper.)
Not exactly.

The problem is solved adding any kind of "room" to the text in order to contain those negative side bearing characters. It doesn't matter if you use either padding or margin, or if you directly apply them to body, div or even p.

(But curiously, if you add margin through the device GUI, the problem is NOT solved. WTH!?!?).

Last edited by arspr; 12-16-2014 at 01:47 PM.
arspr is offline   Reply With Quote