![]() |
#331 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 396
Karma: 33660
Join Date: Jul 2011
Device: Kindle 3, Kindle 4, Kindle PW, Nexus7 3G
|
Here we are, german localisation for the margins patch.
|
![]() |
![]() |
![]() |
#333 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 126126
Join Date: May 2012
Location: Tartu
Device: kindle touch, pw
|
Just for information
In my KT SO deleting /var/local/adunits folder gets no screensaver and no blank screen so for me "Disable Special Offers" downt work. (touching /var/local/adunits as a file gets same effect) |
![]() |
![]() |
![]() |
#334 |
Official Lurker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Does this work for kindle 3? in the OP, i saw that 100% of the java framework can be patched, but don't know if this is still the case.
Last edited by qlob; 07-26-2012 at 05:24 PM. Reason: spelling |
![]() |
![]() |
![]() |
#335 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
The general approach works for every Java VM - after all, it's pure Java. So yes, of course, the method works on the K3. The only thing that requires some research effort is how to get the patcher bootstrapped. On the K5, this is achieved by registering with the framework as the very first OSGi bundle, and immediately intercepting and hooking into the classloader chain, so that all subsequent class load events come through the PatchingClassLoader. Of course there are a few K5-specifics in the distribution (most notably the UI), but again: the core will work on everything that runs Java, be it a Kindle, a mobile phone or a PC. Just give it a try! |
|
![]() |
![]() |
Advert | |
|
![]() |
#336 | |
Official Lurker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
|
|
![]() |
![]() |
![]() |
#337 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
One hint: you may want to start with an old version (maybe the first committed one, 1.0.1). The core logic hasn't changed since then, but it's probably easier to follow, because it's smaller and less configurable than the current version. |
|
![]() |
![]() |
![]() |
#338 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
This thread now has a shiny new and less cumbersome name, which better fits the software. Thanks to HarryT!
![]() (No, it's not like I only wanted to bump the thread... ![]() |
![]() |
![]() |
![]() |
#339 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Upcoming: justification and hyphenation patch
Hi,
I had already started to develop this some time ago, but then froze development of that particular patch because of the release of JBPatch 2. Now, because the default formatting is really quite bad (IMO), I came back to this project. It's more or less working, but I would like to get some feedback first. The fact that the default formatting looks so bad is actually caused by the combination of two different (but somewhat interdependent) shortcomings of the reader software:
The patch which is currently under development can, in principle, fix all of these issues. For now, I have implemented three different modes:
Below are sample screenshots for an english (first row) and a german book (second row). Each row is ordered as follows:
Please take a look at these and let me know what you think. At the moment, I'm inclined to make the patch configurable to select between options 2) and 4), but suggestions and feedback are highly appreciated. Note: Yes, the hyphen character is an "@". This is intentional, because it makes it easier to spot the locations where hyphenation has kicked in. Of course, this will be fixed in the final version. Last edited by ixtab; 07-30-2012 at 09:25 PM. Reason: minor corrections |
![]() |
![]() |
![]() |
#340 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ixtab: Unsurprisingly, I really like the full hyphenation (setting 4)
![]() ![]() Thanks for making this happen, it's a huge pet peeve in the french community, too ![]() |
![]() |
![]() |
![]() |
#341 | ||
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Quote:
![]() Edit: I just tested "setting 4" using a normal layout, and skimming through some german books: it looks really good, almost perfect actually. The only time that it seems to occasionally make mistakes is with words in a foreign language, such as english names. Still a *huge* improvement over the default display. Last edited by ixtab; 07-30-2012 at 07:17 PM. |
||
![]() |
![]() |
![]() |
#342 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Reader Layout & Hyphenation Patch
This patch can fix the alignment of content displayed on the Kindle Touch, and add hyphenation support to the books you're reading. Virtually all languages are supported.
Here are a few screenshots from an english (first row) and a german book (second row), respectively. The pictures in the rows are in the following order:
Download and further instructions here. Last edited by ixtab; 07-31-2012 at 05:27 AM. |
![]() |
![]() |
![]() |
#343 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 396
Karma: 33660
Join Date: Jul 2011
Device: Kindle 3, Kindle 4, Kindle PW, Nexus7 3G
|
Option 2 and 4, 3 is annoying quite quickly. Gonna install immediatelly!
You are amazing, start to take donations! Why can't this be done by Amazons developers? A lot of customers ask for this options offered by JBPatch. Last edited by diba; 07-31-2012 at 01:56 AM. |
![]() |
![]() |
![]() |
#344 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
|
Quote:
Without hyphenation and "stupid" justification you often get really ugly holes in stretched lines. That is of course more of a problem in languages like German where there can be quite long words. So they solved a problem "ugly holes in justified text" by going down a road that - to my knowledge - no typographer has ever done as every typographer knows how to hyphenate. Strange and annoying but still a creative solution. ![]() BTW, if you look at the promotional images of the Kindle Touch, you'll see that the English images are carefully chosen not to display this pseudo-justification: http://is.gd/fsudaS Whereas the German images show the complete fail in regards to hiding the bad typography: http://is.gd/UxQN7K And this in the country that was once a forerunner of good typography. Ah well, it has been going downhill anyway with typography after Gutenberg printed his first book. ![]() Last edited by bhaak; 07-31-2012 at 04:39 AM. Reason: typo |
|
![]() |
![]() |
![]() |
#345 | ||
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Quote:
![]() |
||
![]() |
![]() |