Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2013, 04:19 PM   #136
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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
honestly? it's a total PITA.

I dont fancy your chances unless you have the skills he lists. BUT as slanty says... it can be done.
twobob is offline   Reply With Quote
Old 06-24-2013, 02:04 AM   #137
kaznelson
Zealot
kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.
 
kaznelson's Avatar
 
Posts: 120
Karma: 751291
Join Date: May 2010
Location: Moscow
Device: PW2, Voyage, Kobo H2O
Enhanced fontfix for K3/K4 (further development ihor's idea):

update_fontfix_0.8.zip (90 Kb)

- Adjusted font-size for mobi/azw-books (from 10 to 100);
- Adjusted left/right fields for mobi/azw-books (from 0 to 50);
- Adjusted top field for mobi/azw-books (from 0 to 30);
- Adjusted left/right fields for pdf-files (from 0 to 20);
- Adjusted top field for pdf-files (from 0 to 20);
- Reduced height of the bottom progress bar (with 45 to 38);
- Reduced page overlap in landscape mode for pdf-files (with 40 to 5);
- The increased number of lines in pop-up dictionary (with 3 to 7);
- Russian virtual keyboard ("абв" allocation);
- 24-hour time format.

Settings:
/YourKindleRoot/system/fontfix.pref
Code:
# User font size for Reader Booklet
FONT_LETTER=A
FONT_SIZES=20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36
# User AZW margins for Reader Booklet
MOBI_TOP_MARGIN=20
MOBI_HORIZONTAL_MARGINS=30,20,10
# User PDF margins for Reader Booklet
PDF_TOP_MARGIN=0
PDF_HORIZONTAL_MARGINS=0
Kitchen for K3/K4:
Font_Fix_source_full.rar (21 Mb)

Last edited by kaznelson; 06-24-2013 at 03:09 AM.
kaznelson is offline   Reply With Quote
 
Advertisement
Old 07-18-2013, 09:34 PM   #138
SugarSnack
Junior Member
SugarSnack began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2013
Device: Kindle - 4 NT (Black), 4.1.1
Question

Quote:
Originally Posted by kaznelson View Post
Enhanced fontfix for K3/K4 (further development ihor's idea):

update_fontfix_0.8.zip (90 Kb)

- Adjusted font-size for mobi/azw-books (from 10 to 100);
- Adjusted left/right fields for mobi/azw-books (from 0 to 50);
- Adjusted top field for mobi/azw-books (from 0 to 30);
- Adjusted left/right fields for pdf-files (from 0 to 20);
- Adjusted top field for pdf-files (from 0 to 20);
- Reduced height of the bottom progress bar (with 45 to 38);
- Reduced page overlap in landscape mode for pdf-files (with 40 to 5);
- The increased number of lines in pop-up dictionary (with 3 to 7);
- Russian virtual keyboard ("абв" allocation);
- 24-hour time format.

Settings:
/YourKindleRoot/system/fontfix.pref
Code:
# User font size for Reader Booklet
FONT_LETTER=A
FONT_SIZES=20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36
# User AZW margins for Reader Booklet
MOBI_TOP_MARGIN=20
MOBI_HORIZONTAL_MARGINS=30,20,10
# User PDF margins for Reader Booklet
PDF_TOP_MARGIN=0
PDF_HORIZONTAL_MARGINS=0
Kitchen for K3/K4:
Font_Fix_source_full.rar (21 Mb)
So I installed your hack and I now have a fontfix_install.log in root which seems to say everything went fine and fontfix.pref in /system, but there haven't been any changes to the font sizes on my Kindle 4. I've tried restarting and making changes to the fontfix.pref file to no avail. Any ideas?
SugarSnack is offline   Reply With Quote
Old 09-08-2013, 11:06 PM   #139
Bandi-T
Junior Member
Bandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheese
 
Posts: 5
Karma: 1000
Join Date: Sep 2013
Device: K3gb, Kobo Aura HD
font sizing in update_fontfix_0.8.zip works on k3gb

Quote:
Originally Posted by kaznelson View Post
update_fontfix_0.8.zip (90 Kb)

- Adjusted font-size for mobi/azw-books (from 10 to 100);
- Adjusted left/right fields for mobi/azw-books (from 0 to 50);
- 24-hour time format.
It just installed it on my k3gb (for the font size hack) and the features I quote in the list above work quite good (I did not try the other parts).

I find the minimum font size of 10 somewhat limiting at first - fixed up the check in Java and managed to compile them, but will see in coming days whether it indeed is a pressing enough need for me to learn KindleTool to generate an update (or to look up WiFi networking again to ssh/scp the newly compiled classes over).

Thanks ihor, ixtab, NiLuJe, twobob, kaznelson and everyone else who contributed!

NiLuJe, I think it would it be worth including this in http://www.mobileread.com/forums/showthread.php?t=88004

Last edited by Bandi-T; 09-08-2013 at 11:11 PM.
Bandi-T is offline   Reply With Quote
Old 09-09-2013, 10:40 AM   #140
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 5,258
Karma: 5220787
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@Bandi-T: I'm quite open to linking to it/pointing inquiring users to it, but not 'folding' it into the thread, for a couple of reasons:

* It's, by design, fairly intrusive, and possibly tied to a specific fw build.
* It's not 'update safe'
* The thread is already gigantic enough .

To be clear, I have *nothing* against it, quite to the contrary, but it clashes a bit with the intended audience of the thread you mentioned, so it's mostly to avoid a support nightmare/people shooting themselves in the foot (same reason you don't see USBNet mentioned much in that thread).
NiLuJe is offline   Reply With Quote
Old 09-09-2013, 01:11 PM   #141
Bandi-T
Junior Member
Bandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheeseBandi-T can extract oil from cheese
 
Posts: 5
Karma: 1000
Join Date: Sep 2013
Device: K3gb, Kobo Aura HD
Fair enough.

Linking would be nice though, because I spent half a day going down the same path that was done here (of getting the libs, decompiling them, digging through them for the list, modifying, stopping short of getting an old version of the JDK to recompile for 1.4).
Bandi-T is offline   Reply With Quote
Old 09-09-2013, 06:31 PM   #142
ams
Member
ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.ams is not intimidated by interfenestral monkeys.
 
Posts: 18
Karma: 26326
Join Date: Jul 2013
Device: K3 3.4, KT 5.1.2
Quote:
Originally Posted by Bandi-T View Post
It just installed it on my k3gb (for the font size hack) and the features I quote in the list above work quite good (I did not try the other parts).
While the font size setting works very nicely, the formatting of the headings is not diplayed correctly anymore (large headings are much smaller than they should be, at least on my k3gb, FW3.4).

Edit: By default (if no style is specified in the style sheet) the kindle renders heading sizes in steps that correspond to the steps on the Aa key. For old mobi format: <h5> is normal text size, <h4>, <h3> etc. increase one step each, same as <big></big> tag.
I would, however, expect that if font-sizes are specified in the style-sheet relative to the normal font (like h1 { font-size: 2.0em;}) this should not be affected by the font hack. But even in this case the font size actually displayed seems to be related to the steps assigned to the Aa key for old-style mobis (mobi7) only: Although the html in the mobi file contains h1 { font-size: 2.0em; }, the displayed fontsize is much smaller. I guess this is just the strange way the kindle renders mobis, not a problem of the font-hack.
No problems with KF8, works as expected.

Quote:
Originally Posted by Bandi-T View Post
...fixed up the check in Java and managed to compile them, but will see in coming days whether it indeed is a pressing enough need for me to learn KindleTool to generate an update...
The KindleTool part is easy once you created the framework-api-en_US.jar, framework-impl-en_US.jar and MobiReader-en_US.jar files. In the update_fontfix_0.8zip, go to the src directory where you'll find a batch file called build-updates.cmd (along with the install.sh and uninstall.sh files). You can just copy/paste the kindletool lines for your model (k3gb) from the batch file into the cmd window.

Last edited by ams; 09-15-2013 at 10:58 AM. Reason: Details
ams is offline   Reply With Quote
Old 12-16-2014, 12:20 PM   #143
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,543
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
What I'd like to know is that with the latest jailbreak and whatever the latest firmware it works with, does this font hack to get more font sizes still work?
JSWolf is online now   Reply With Quote
Old 12-16-2014, 06:59 PM   #144
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 5,258
Karma: 5220787
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@JSWolf: More, no. Different, yes (cf. the link to kaznelson's PW1/PW2 fonts/margins hack link in the 'Where To Start' sticky).
NiLuJe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font sizes paulfiera Conversion 2 08-14-2012 09:49 AM
602 How to set a hot key for turning off WIFI jshzh PocketBook 2 01-27-2011 06:06 PM
Font sizes DaleDe Sigil 8 03-13-2010 06:52 PM
Font Sizes brewt Amazon Kindle 9 06-12-2009 04:03 PM
Font Sizes on DX wallcraft Amazon Kindle 1 05-07-2009 12:08 AM


All times are GMT -4. The time now is 05:33 PM.


MobileRead.com is a privately owned, operated and funded community.