Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2016, 01:26 PM   #211
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 942
Karma: 10500004
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
@byzkarl: Did you restart/reboot your Kindle after editing FONT_RAMP file?
shamanNS is offline   Reply With Quote
Old 04-19-2016, 06:09 AM   #212
topquark
Connoisseur
topquark began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Oct 2011
Device: K3, PW2
Will this also work on the K3?
topquark is offline   Reply With Quote
Advert
Old 04-19-2016, 10:03 AM   #213
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 942
Karma: 10500004
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
@topquark: Will what work on K3?
1) FONT_RAMP thing >>> No, it's firmware 5.x.x series only.
2) Reducing left and right margin >>> IIRC it's easier to do that on K3 than on any newer Kindle (you edit a value in /system/reader.pref file that is just a plain text file and accessible without needing the jailbreak

3) Changing those 8 predefined font sizes in Aa menu: Possible with jailbreak by editing different set of jar files.

See this post for hack/solution for 2) and 3): https://www.mobileread.com/forums/sho...&postcount=137

You should probably read at least last couple of pages of that thread, focusing on posts by @ihor. And also read the included "readme"/instruction to check which firmware build for Kindle 3 are supported and tested. Especially now that Kindle 3 recently got some small update (for March 22 server side changes) to be able to continue using Kindle Store and stuff... because there is possibility that those jar files that hack uses were replaced and/or java code was re-obfuscated.

Having working SSH setup (USBNetworking) and some basic knowledge of Linux terminal command would be nice, in case you just go ahead with installing the hack and as result Kindle gets soft-bricked you could manually delete modified jar files... that should fix things.
shamanNS is offline   Reply With Quote
Old 04-20-2016, 11:47 PM   #214
topquark
Connoisseur
topquark began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Oct 2011
Device: K3, PW2
Great. Thanks a lot. I'll look at that link.
topquark is offline   Reply With Quote
Old 07-07-2016, 06:09 AM   #215
kleinjar
Connoisseur
kleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refreshes
 
Posts: 59
Karma: 14210
Join Date: Jul 2015
Device: none
Any updates on this, particularly the margins hack?
kleinjar is offline   Reply With Quote
Advert
Old 07-07-2016, 01:27 PM   #216
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: 13,484
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@kleinjar: AFAIK, it's still doable manually. The instructions are still mostly accurate for everything pertaining to margins, it's the font size stuff which changed significantly.

EDIT: Said instructions are from @kaznelson, somewhere after his attachment in the JBPatch thread. I vaguely remember someone putting all of it together in a new thread recently-ish, but I might have dreamed that .

Last edited by NiLuJe; 07-07-2016 at 01:30 PM.
NiLuJe is offline   Reply With Quote
Old 09-06-2016, 11:52 AM   #217
Qubezo
Junior Member
Qubezo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2015
Device: Kindle Basic
The font size doesn't work in 5.8.3 Or did I do it wrongly?
Qubezo is offline   Reply With Quote
Old 09-06-2016, 12:08 PM   #218
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Qubezo View Post
The font size doesn't work in 5.8.3 Or did I do it wrongly?
Probably too recent a firmware version.
Please mention your device model by our name for it (there are 3 or more 'Kindle Basic' devices).

Does FONT_RAMP still work in that firmware version?
(FONT_RAMP: ^^ read up ^^)
knc1 is offline   Reply With Quote
Old 09-06-2016, 12:45 PM   #219
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,579
Karma: 84812983
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Qubezo View Post
The font size doesn't work in 5.8.3 Or did I do it wrongly?
Is there new Kindle firmware out or did you mean 5.8.2?
jhowell is offline   Reply With Quote
Old 09-06-2016, 08:46 PM   #220
Qubezo
Junior Member
Qubezo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2015
Device: Kindle Basic
Quote:
Originally Posted by knc1 View Post
Probably too recent a firmware version.
Please mention your device model by our name for it (there are 3 or more 'Kindle Basic' devices).

Does FONT_RAMP still work in that firmware version?
(FONT_RAMP: ^^ read up ^^)
Quote:
Originally Posted by jhowell View Post
Is there new Kindle firmware out or did you mean 5.8.2?
Sorry guys. My bad. It does work for AZW3 but not in MOBI format. I should have read the previous pages. I can confirm that this trick still works in 5.8.2, PW3. Thanks.
Qubezo is offline   Reply With Quote
Old 01-08-2017, 09:37 AM   #221
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Update:
It still works on 5.8.7
Analogus is offline   Reply With Quote
Old 04-16-2017, 01:38 AM   #222
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,603
Karma: 4798866
Join Date: Mar 2015
Device: Kindle, iOS
font_ramp works on 5.8.9 as well
odamizu is offline   Reply With Quote
Old 04-16-2017, 08:47 AM   #223
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Qubezo View Post
Sorry guys. My bad. It does work for AZW3 but not in MOBI format. I should have read the previous pages. I can confirm that this trick still works in 5.8.2, PW3. Thanks.
Quote:
Originally Posted by Analogus View Post
Update:
It still works on 5.8.7
Quote:
Originally Posted by odamizu View Post
font_ramp works on 5.8.9 as well
Thanks.

No word (yet) on if they have enabled the "CONTENT_FONT_RAMP" feature.
knc1 is offline   Reply With Quote
Old 04-16-2017, 09:58 PM   #224
shalym
Wizard
shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.shalym ought to be getting tired of karma fortunes by now.
 
shalym's Avatar
 
Posts: 3,032
Karma: 52740263
Join Date: Feb 2012
Location: New England
Device: PW 1, 2, 3, Voyage, Oasis 2 & 3, Fires, Aura HD, iPad
Quote:
Originally Posted by knc1 View Post
Thanks.

No word (yet) on if they have enabled the "CONTENT_FONT_RAMP" feature.
They haven't, unfortunately.

Shari
shalym is offline   Reply With Quote
Old 06-13-2017, 08:35 PM   #225
xl743
Member
xl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beautyxl743 does all things with Zen-like beauty
 
xl743's Avatar
 
Posts: 19
Karma: 32720
Join Date: Apr 2015
Device: Kindle Oasis, Pocketbook 840-2
Quote:
Originally Posted by PRS-T2 View Post
##### Default values are: #################
7.13 7.81 8.49 9.17 10.53 12.56 16.98 29.2

This translates to height in px:
19.2; 21.1; 23; 24.7; 28.6; 33.9; 45.8; 78.9

How? FONT_RAMP value * 2.7 = height in px

How many px per mm are shown on 300dpi PW3/Voyage:

300/25,4 = 11,81px/mm
Height in px / 11,81 = height in mm

Example:

29.2*2,7=78.9
78.9/11.81=6.68mm
I believe, the sizes are in typography points (pt). 1pt is 1/72 of an inch.
1 inch is 25.4mm, so, 1pt is 25.4 / 72 = 0.352778mm

To translate the sizes in pixels (px) for Kindle Oasis (or Voyage) with 300dpi screens, calculation would be something like this:

Smallest font: 7.13 * 300 / 72 = 29.7 px
Default (4th) font: 9.17 * 300 / 72 = 38.2 px
Biggest font: 29.2 * 300 / 72 = 125.14 px

In millimeters this would be for the biggest font: 29.2 * 0.352778 = 10.23mm
xl743 is offline   Reply With Quote
Reply

Tags
font_ramp


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit margins in MOBI file? WDeranged Calibre 2 09-03-2015 05:43 PM
Default Edit Book Edit Window Font? lhuxley Editor 2 03-26-2015 11:11 PM
Kindle Paperwhite edit PDF margins? bseos Amazon Kindle 8 02-10-2014 02:00 PM
Edit Default Kindle PW Font Sizes mthodmn101 Kindle Developer's Corner 10 09-20-2013 11:14 AM
Kindle margins edit? 3bayjunkie Amazon Kindle 3 01-01-2011 11:38 PM


All times are GMT -4. The time now is 09:34 PM.


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