![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Location: Mumbai, India
Device: Kindle paperwhite 2
|
Text Justification on Kindle (K4 NT)
Hello!
When an e-book is justified the Kindle needs to adjust spacing between words so that eventually the text appears justified. There seem to be two ways through which the Kindle handles this. First is where the adjustment for the spacing is done within the line. Sometimes this tends to create weird-looking large spaces between words. The other way is where the adjustment is made at the end of the line, which leaves some space only at the end of the line. So my doubt is, whether there is any specific way to format an epub so that the converted mobi file displays justification only of the second type? (I use Kindle Previewer for converting epubs to mobi.) 'Cause I'm not too much of a fan of large spaces appearing all over the line. Is there a way? Thanks a lot. The thing is, though I appreciate their hard-work, the formatting of Kindle books on Gutenberg – paragraph spacing, indent – is not really to my liking. Thank you! Last edited by sillypoint; 03-20-2013 at 02:11 PM. |
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Sure - just hard code left justification into your book:
Code:
<p align=left>... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Location: Mumbai, India
Device: Kindle paperwhite 2
|
Thanks a lot! The left align code leaves space at the end of each line which does look really bad. Perhaps the question should've been more clear.
The kind of justification which I'm trying to get is where there's a blank space if required at the end of, say, only one line per page. The other lines look normal with no extra spacing either within the line or at the end of the line. To give an example, Robin Buss's translation of Monte Cristo from Amazon has that sort of formatting. |
![]() |
![]() |
![]() |
#4 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I'm afraid you've lost me. There are only two ways of doing justification:
1. Left alignment, where all the space is at the end of the line. 2. Full alignment, where space is added between words. That's it; there's no other choice. The Kindle tries to be smart, so if you have full alignment and that would involve inserting too much empty space in the line, the Kindle will left justify that line only, but you can't control when or if it does that. |
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Location: Mumbai, India
Device: Kindle paperwhite 2
|
Quote:
The Kindle does that for some books. With others (converted epubs) it always inserts white space within the line – no matter how much – and never ever left justifies that line. So I thought there could be some way to, you know, tell Kindle to left justify such lines instead. By editing the CSS. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 278
Karma: 2511467
Join Date: Feb 2012
Device: ABC W p2
|
I agree with the other and think it is not possible by default.
However, there is a software you can easily install in your Paperwhite, a hack, called JBPatch. It has this option and also allows you to add hyphenation to make the reading clearer (among other improvements). I can't take the link now in the smartphone I'm browsing, but you'll find JBPatch thread in the Developers Corner in the Kindle section. Best Wishes, Antoine |
![]() |
![]() |
![]() |
#7 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 117
Karma: 584308
Join Date: Oct 2010
Location: San Francisco
Device: Kindle
|
Quote:
Kindles used to justify the entire line regardless of the amount of spacing needed between words. After a certain upgrade (available only for some Kindles), Amazon introduced an algorithm where no more than three spaces would be added between words. If that wasn't enough to justify the line, then you would see a space at the end. |
|
![]() |
![]() |
![]() |
#9 | |||
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Location: Mumbai, India
Device: Kindle paperwhite 2
|
Quote:
Quote:
Quote:
Thank you for replying. ![]() Here, I've attached a screenshot to show how a converted epub (using Kindle Previewer) straight from PG looks. See how the line fifth from the bottom is weirdly stretchy. I was wondering whether that could be fixed by doing something to the epub's CSS. PS: This is a bit silly, but the "Originally posted by *username*" is not appearing with the quoted texts! Am I missing something? Last edited by sillypoint; 03-21-2013 at 11:02 PM. |
|||
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Location: Mumbai, India
Device: Kindle paperwhite 2
|
I think if the ebook file is from Amazon, this does not happen.
|
![]() |
![]() |
![]() |
#11 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Location: Mumbai, India
Device: Kindle paperwhite 2
|
Quote:
![]() Update This problem has a solution: https://www.mobileread.com/forums/sho...d.php?t=208534 Last edited by sillypoint; 03-30-2013 at 06:18 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 Justification | treadlightly | Sony Reader | 4 | 12-14-2011 01:21 PM |
PRS-T1 Justification | Hatgirl | Sony Reader | 5 | 11-17-2011 09:59 AM |
what justification of hr | gucky | Calibre | 1 | 02-05-2011 04:37 PM |
Justification | Georgiegirl2012 | General Discussions | 21 | 09-27-2010 09:38 AM |
DX justification | jlinden | Amazon Kindle | 7 | 01-18-2010 07:22 AM |