09-15-2012, 05:25 PM | #61 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
That's a function of that particular display widget, changing the underlying sizes to display wouldn't change that functionality. 2) Yep. Gutters are a bit rubbish. : ) EDIT: or do you mean multiply them all by some central numerical factor smallest -> Largest being X2 time the actual difference in font size. Seems like a lot of fiddling about for little gain. But might be a great exercise in guts ripping. I would heart to see you do that, shamanNS, but honestly it's a bit of a folly when there are other much juicier low hanging fruit (4 font variations, color fonts? HEHEHe) : ) Last edited by twobob; 09-15-2012 at 05:30 PM. Reason: fiddle fiddle while the DX burns |
|
09-15-2012, 05:28 PM | #62 |
Guru
Posts: 876
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
@twobob: I fancy "xx pt" over standard Aa icon
|
09-15-2012, 05:32 PM | #63 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm. well, that's more or less exactly that same amount of work as my suggestion...
: ) Have a play... see what you come up with! (the _en extension stuff is much less CRASH hazardous then affecting the main jar, Big love to Itab for that little tip. makes playing around much less "Twitchy") |
09-15-2012, 05:43 PM | #64 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: You can. It's also a setting saved in reader.pref
|
09-15-2012, 06:19 PM | #65 | |
Enthusiast
Posts: 43
Karma: 42986
Join Date: Aug 2011
Location: Lviv, Ukraine
Device: Kindle DX Graphite
|
Quote:
class \com\amazon\ebook\common\gui\overlay\resources\Pag eActionsOverlayResources.class it has these lines: "word.per.line.option.1", "fewest" }, { "word.per.line.option.2", "fewer" }, { "word.per.line.option.3", "default" Do you want to change captions on "Max!" "Normal" "Useless" ? Or to change values? Cause changing values would be more difficult - they are not in this resource file. finding values "40" would be more difficult. There is a parameter HORIZONTAL_MARGIN in reader.pref file. I changed it to 20 and rebooted kindle. And it works. For me it is enough. English is not my native language. Although I studied it at school and at university at applied linguistics department, I cannot translate this sentence anyway. Could you please re-phrase it? |
|
09-15-2012, 06:32 PM | #66 |
Guru
Posts: 876
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
Ok. So I've pulled those 2 .jar files form my Kindle Keyboard with FW 3.3, decompiled it. Everything is the same (values), so the same modification should also work for KK.
I did't do re-compile part because "Java SE Development Kit 6 Update 21" (which I had already on my PC ,left from samo Android related modification I did couple of months; so I tried it first) will not compile to 1.4 target. Will try compiling part and pushing to my KK tomorrow when I'm less lazy I've used Notepad++ for opening ReaderResources_en.java and UIResources_en.java. But I want to ask if Notepad++ is ok/is it safe (because of the CRLF thingy)? I have Linux Mint installed as part of tripleboot (again for some Android modifications), but I'm not that experienced in Linux text editors (especially the ones that are used from Terminal, aka non-GUI ones) edit: @ihor: I've seen this in ReaderResources_en.java Code:
}, new Object[] { "booklet.leftMargin", new Integer(40) }, new Object[] { "booklet.rightMargin", new Integer(40) Last edited by shamanNS; 09-15-2012 at 06:38 PM. |
09-15-2012, 07:15 PM | #67 |
Enthusiast
Posts: 43
Karma: 42986
Join Date: Aug 2011
Location: Lviv, Ukraine
Device: Kindle DX Graphite
|
Here (see attachment) is the file with 11 options for the font - as on screenshot above.
By the way, people from other forums told that patch works fine on Kindle Keyboard. |
09-15-2012, 07:24 PM | #68 |
Enthusiast
Posts: 43
Karma: 42986
Join Date: Aug 2011
Location: Lviv, Ukraine
Device: Kindle DX Graphite
|
@shamanNS:
download the old JDK (link is in my instruction) and don't search for possible problems. As to Notepad++: I don't think it matters CRLF or CR - the compiler makes a binary code (.class file). As to this Code:
}, new Object[] { "booklet.leftMargin", new Integer(40) }, new Object[] { "booklet.rightMargin", new Integer(40) |
09-15-2012, 08:39 PM | #69 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Dont want you guys to do work on my account. appreciate the insights so far though.
the font size thing didnt work on my stock 3.4 but ill go check out the sucess reports. thanks everyone. from my kindle |
09-16-2012, 04:35 AM | #70 |
Enthusiast
Posts: 43
Karma: 42986
Join Date: Aug 2011
Location: Lviv, Ukraine
Device: Kindle DX Graphite
|
upload your opt folder somewhere - I will look.
by the way, can anyone teach me how to create bin files - those which are put into \mnt\us and then visible in menu -> settings -> update ? if anyone can point me to a normal guilde which would allow me to start development under kindle platform - I'd be grateful. |
09-16-2012, 05:50 AM | #71 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay - Niluje released an updated packager to make the .bin files.
I will find it now as penance for not reading your message properly. Have a look here https://www.mobileread.com/forums/sho...d.php?t=187880 -------------------------------------------------------------------------------- I misread this first and thought you meant kindlets lol!!!! Spoiler:
Last edited by twobob; 09-16-2012 at 06:04 AM. Reason: He meant the installer thingy. |
09-16-2012, 07:25 AM | #72 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
the 2nd hack on a stock 3.4
Quote:
Tested this second version on a stock 3.4, with no fonts hack, doesn't work (nothing changes in the menus) still 8 choices, still same sizes : ) just reporting the results. Cheers |
|
09-16-2012, 10:24 AM | #73 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
the lowdown, oh tinkery one ;)
Quote:
Yeah. pretty much, you need (your a windows dude so the windows version) CodeSourcery Toolchain 2006q3 (or 2007q3) An IDE that can use that is helpful. Some source code, Some flags would be nice for the dx for cpp. Quote:
Then either use the IDE, or command line, to x-compile some code. That's it really, the resulting exe will just work AS-IS, assuming you use the TC I suggest. Use readelf or something to check your library requirements. I have notes on getting the resulting bins to dynamically load libraries at runtime from FAT, should you end up including libs. Obviously a nice self contained exe is easiest (but rarely possible with 3rd party code) There should be a whole bunch of posts from me (and possibly others) asking (possibly stupid) questions about this subject. Have a you have a search around if you want a laugh Here's the wiki for MobileRead on it https://wiki.mobileread.com/wiki/Tools_Index#Development So: Start here: https://www.mobileread.com/forums/sho...d.php?t=181068 The Kindle envronment Kit Public repository of command files and documentation: http://hg.minimodding.com/repos/embed/kek.hg/ 'hg clone' the above address for a local copy. Changes available via RSS and ATOM feeds. Tools, Image filters, Image profiles, Eclipse-CDT, ... (I.E: files that don't need source control): http://drpbox.knetconnect.com/KeK ('wget --mirror' is ok, just don't do it too often. No rsync available.) And see where that gets you Great to have you excited about the device. It can do incredible things if we make it! Last edited by twobob; 09-16-2012 at 10:26 AM. Reason: Trying to make the English clearer |
||
09-16-2012, 10:36 AM | #74 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Same flags as the 3 for a 2/DX, no worries there .
|
09-16-2012, 10:56 AM | #75 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Freescale i.MX31 rather than the i.MX35
Ah happy days then. I knew it had less memory, and I thought it ran the Freescale i.MX31 rather than the i.MX35
I checked and wikiP said "The CPU is of the same speed as Kindle 3 but it is of a different revision." So I wasn't 100% on the arch flags being identical. Thanks mate for clearing that up : ) So pretty much all stuff built for 3 works on DX? Excellent if that is the case. I should have a play. Thanks again |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font sizes | paulfiera | Conversion | 2 | 08-14-2012 08:49 AM |
602 How to set a hot key for turning off WIFI | jshzh | PocketBook | 2 | 01-27-2011 05:06 PM |
Font sizes | DaleDe | Sigil | 8 | 03-13-2010 05:52 PM |
Font Sizes | brewt | Amazon Kindle | 9 | 06-12-2009 03:03 PM |
Font Sizes on DX | wallcraft | Amazon Kindle | 1 | 05-06-2009 11:08 PM |