![]() |
#1576 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
NiLuJe, ixtab et al. I was told that you can port JBPatch to FW 4.1. Is this actually possible, and how do I do this? Any help would be much appreciated.
Waylander |
![]() |
![]() |
![]() |
#1577 |
Old Kaz
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
|
zxczxc
JBE 0.1.1 - Java Bytecode Editor ReaderSDK-impl-ln_LN.jar -> ReaderResources_ln_LN.class -> Open in JBE Methods -> <init> -> [0] Code -> Code Editor tab For PW/PW2 edit values: font.contrast.value.list : bipush 254 > sipush 254 font.wordsperline.margin.list [fewest] : 150 > 30 font.wordsperline.margin.list [fewer] : 100 > 20 font.wordsperline.margin.list [default] : 50 > 10 reader.content.leftMargin : 50 > 11 reader.content.rightMargin : 50 > 11 reader.content.topMargin : 40 > 12 reader.content.bottomMargin : 40 > 18 reader.progressbar.height : 25 > 18 reader.progressbar.footer.height : 40 > 18 reader.progressbar.margin : 40 > 18 reader.content.yMargin : 20 > 18 Last edited by kaznelson; 03-15-2014 at 12:58 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#1578 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
Is this for porting to FW 4.1? And where is the hyphen option? If this is in response to another post then I apologise for butting in.
Waylander |
![]() |
![]() |
![]() |
#1579 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
1. Find a way to inject the patching class loader as early as possible. 2. Get rid of the UI components. They are not compatible with K3/K4, so they'd have to be completely rewritten, or simply left out. 3. Write useful patches. References: How does JBPatch work? and arikfunke's post about getting it to work on the K3 (also follow the links from that post). |
|
![]() |
![]() |
![]() |
#1580 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
How do I get rid of the UI components? I can't seem to open the Bin file, so I don't know how to proceed.
Wylander |
![]() |
![]() |
Advert | |
|
![]() |
#1581 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
#1582 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#1583 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
I just want to use the hyphenation patch. Do I still have to do the full JBPatch? Sorry for being such a noob, but its pretty confusing.
|
![]() |
![]() |
![]() |
#1584 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#1585 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
|
I know about using soft-hyphens, but they only work with azw3 files, and I really wanted to get hyphens with mobi files because the font sizing is better. Any other pointers? Thans for all your help.
|
![]() |
![]() |
![]() |
#1586 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,115
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#1587 | |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Quote:
Also, belated found Java Bytecode editor http://set.ee/jbe/ Very useful. Happy Thanksgiving to those in North America, and maybe elsewhere ![]() |
|
![]() |
![]() |
![]() |
#1588 | |
Old Kaz
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
|
Quote:
HTMLReaderImplResources_ln_LN.class htmlreader.font.size.list : 7.13 ; 7.81 ; 8.49 ; 9.17 ; 10.53 ; 12.56 ; 16.98 ; 29.2 > Your eight values MobiDrawingResources_ln_LN.class mobi.font.size.mapping : 7.13 ; 7.81 ; 8.49 ; 9.17 ; 10.53 ; 12.56 ; 16.98 ; 29.2 > Your eight values One line - one value (or one shot - one kill ![]() Section "167 dpi" for KT, section "212 dpi" for PW. Parameter <mobi.font.size.mapping/htmlreader.font.size.list>.cjk - for Asian languages. By default the sizes of fonts on Kindle are resulted to X/100 inches. Height of one point ~0,00469" or ~0,11913 mm. Last edited by kaznelson; 11-29-2013 at 01:08 AM. |
|
![]() |
![]() |
![]() |
#1589 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53
Karma: 92908
Join Date: Jan 2013
Device: kindle NT, PW1, PW2, Kobo H2O
|
Quote:
Marging hack not working in 5.40. |
|
![]() |
![]() |
![]() |
#1590 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@levante: You'll notice that 5.4.0 isn't mentioned *anywhere* in kaznelson's post, which might explain your current plight
![]() |
![]() |
![]() |