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-22-2015, 03:51 AM   #16
kaznelson
Old Kaz
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: 202
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
ecostin
In what jar-file contains "/mnt/us/FONT_RAMP"?
kaznelson is offline   Reply With Quote
Old 03-24-2015, 04:45 AM   #17
ecostin
Enthusiast
ecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role modelecostin is a good role model
 
Posts: 37
Karma: 160968
Join Date: Sep 2010
Location: Germany
Device: PRS-500-505-700, Kindle3, KT, KPW, KPW2, KV, KOA
Quote:
Originally Posted by kaznelson View Post
ecostin
In what jar-file contains "/mnt/us/FONT_RAMP"?
In ReaderSDK-impl.jar
ecostin is offline   Reply With Quote
Advert
Old 03-24-2015, 10:48 PM   #18
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 516
Karma: 32106
Join Date: Feb 2012
Device: Onyx Boox Leaf
Thank you, @ecostin, for the font size change hack.
nqk is offline   Reply With Quote
Old 04-22-2015, 08:29 PM   #19
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,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by shalym View Post
All right. I'm going to try this, but I need some hand holding. So I create 2 text files named FONT_RAMP and CJK_FONT_RAMP and in each of them I put in the values of 7.49 8.43 9.37 10.31 11.25 12.19 13.13 14.07 and save the file. I then copy the files into the root of my Kindle drive when it is connected via USB. Is this correct?
Quote:
Originally Posted by tono1020 View Post
Yes, that's correct, I tried it myself. You don't need CJK_FONT_RAMP, if you won't use chinese letters.

Edit: BTW, you have to restart to take affect.
Wow. This seems too easy, which makes me think I'm missing something Just to make sure I'm not, let me lay this out step by step:

1. Create 2 plain text files named FONT_RAMP and CJK_FONT_RAMP (the latter only needed if using Chinese characters). Be sure to delete any extension if one is created.

2. Type in the following values: 7.49 8.43 9.37 10.31 11.25 12.19 13.13 14.07 — NEW INFO: as of 5.8.11, you need to input 14 values, not 8
  • The text files should contain only 14 numbers and nothing else, yes? [Answer: Yes]
  • Am I thinking correctly that I can adjust the above numbers until I get the font sizes I desire? [Answer: Yes]
  • Are the above numbers the default values used on a stock Kindle? If not, what are the above numbers? [See post #22 for default values pre-5.8.11]

3. Connect Kindle Voyage to computer via USB and copy into root??

When I connect my Kindle and double-click the icon to show what's inside, it shows one folder named "documents" (in which are my ebooks). "Root" would mean copying the text files into the main directory, not into any folders, yes? [Answer: Yes]

4. Restart Kindle.

Does all this sound right?

If I want to revert to original settings, do I just delete the text files and restart Kindle? [Answer: Yes]

Forgive me if the questions are obvious. I am not comfortable playing with stuff like this and need even more hand-holding than shalym

Thank you!

Last edited by odamizu; 11-17-2018 at 12:22 AM. Reason: updated info for 5.8.11+
odamizu is offline   Reply With Quote
Old 04-22-2015, 09:10 PM   #20
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Correct, except I have no idea what the default values are and if those particular numbers are the defaults or not.
eschwartz is offline   Reply With Quote
Advert
Old 04-23-2015, 01:07 AM   #21
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
Plus ++
You must use an editor that inserts *nix line endings, not Windoze or Mac line endings.
knc1 is offline   Reply With Quote
Old 04-23-2015, 02:56 AM   #22
tono1020
Connoisseur
tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!
 
Posts: 58
Karma: 100000
Join Date: May 2009
Location: EU
Device: Cybook (Gen3, Opus), K3, K4NT, PW, PW2, KV
Quote:
Originally Posted by odamizu View Post
2. Type in the following values: 7.49 8.43 9.37 10.31 11.25 12.19 13.13 14.07
  • The text files should contain only 8 numbers and nothing else, yes?
  • Am I thinking correctly that I can adjust the above numbers until I get the font sizes I desire?
  • Are the above numbers the default values used on a stock Kindle? If not, what are the above numbers?
No, those are not default values. Default values are: 7.13 7.81 8.49 9.17 10.53 12.56 16.98 29.2.
You can recalculate those values in pixels (approximate): 19.2; 21.1; 23; 24.7; 28.6; 33.9; 45.8; 78.9.

I calculated few value sets for myself, but only those values worked for me. Don't know why.

This article explains how to calculate those values: http://www.the-ebook.org/forum/viewt...424889da87d14b. Article is in russian language, but you can "google translate" it.
tono1020 is offline   Reply With Quote
Old 04-23-2015, 03:01 AM   #23
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,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Thank you eschwartz! Thank you knc1! Thank you tono1020!

Quote:
Originally Posted by knc1 View Post
Plus ++
You must use an editor that inserts *nix line endings, not Windoze or Mac line endings.
I'm not sure what this means. For stuff like this I use an HTML editor that saves files as plain text. I think TextEdit (Mac) and Notepad (Windows) does the same thing. Is that what means *nix line endings?

Also, do I need a line ending after the end of the 8 numbers?

Last edited by odamizu; 04-24-2015 at 03:28 AM.
odamizu is offline   Reply With Quote
Old 04-23-2015, 03:06 AM   #24
tono1020
Connoisseur
tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!
 
Posts: 58
Karma: 100000
Join Date: May 2009
Location: EU
Device: Cybook (Gen3, Opus), K3, K4NT, PW, PW2, KV
Quote:
Originally Posted by odamizu View Post
Thanks eschwartz! Thanks knc1!



I'm not sure what this means. For stuff like this I use an HTML editor that saves files as plain text. I think TextEdit (Mac) and Notepad (Windows) does the same thing. Is that what means *nix line endings?

Also, do I need a line ending after the end of the 8 numbers?
Don't use line ending. There is my file in attachment.
Edit: Extract it first. It is in ZIP, because I couldn't upload file with no extension.
Attached Files
File Type: zip FONT_RAMP.ZIP (154 Bytes, 1051 views)

Last edited by tono1020; 04-23-2015 at 03:12 AM.
tono1020 is offline   Reply With Quote
Old 04-23-2015, 03:16 AM   #25
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,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
tono1020!
odamizu is offline   Reply With Quote
Old 04-23-2015, 03:22 AM   #26
tono1020
Connoisseur
tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!tono1020 rocks like Gibraltar!
 
Posts: 58
Karma: 100000
Join Date: May 2009
Location: EU
Device: Cybook (Gen3, Opus), K3, K4NT, PW, PW2, KV
Quote:
Originally Posted by odamizu View Post
tono1020!
I'm glad, that I could help.
tono1020 is offline   Reply With Quote
Old 04-23-2015, 11:37 AM   #27
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Unix line endings means create and/or edit on linux or OSX (both unix-based systems which default to *nix line endings) and if you use Windows then get decent text editor like Notepad++.

What's the deal with the different characters? An amusing overview: http://blog.codinghorror.com/the-great-newline-schism/

Last edited by eschwartz; 04-23-2015 at 11:42 AM.
eschwartz is offline   Reply With Quote
Old 04-23-2015, 05:18 PM   #28
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 eschwartz View Post
Unix line endings means create and/or edit on linux or OSX (both unix-based systems which default to *nix line endings) and if you use Windows then get decent text editor like Notepad++.

What's the deal with the different characters? An amusing overview: http://blog.codinghorror.com/the-great-newline-schism/
Actually, I see references to this all the time, and I just don't understand what the issue is. I use notepad. not Notepad++, just the regular notepad that comes with Windows. I've edited config files for my Kobo and my Kindle, and edited html, vbscript, javascript and probably many other things I'm not remembering, all using plain old vanilla notepad. I've never had a problem with any system not recognizing the line endings.

Maybe people who are having problem are using either Wordpad or MS Word instead of notepad? Neither of those will work for working in code, but again...I've been working with scripts and devices for years, and never had a problem with notepad.

Shari
shalym is offline   Reply With Quote
Old 04-23-2015, 05:21 PM   #29
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
Welcome to the world outside of the window(s).
knc1 is offline   Reply With Quote
Old 04-23-2015, 06:12 PM   #30
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
Welcome to the world outside of the window(s).
I don't understand what that means? I'm saying that I have successfully used the plain old vanilla notepad app for YEARS to edit config files, scripts, and other code with no issue. I used it to create the 2 text files named FONT_RAMP and CJK_FONT_RAMP that are mentioned in this thread, and it is working just fine on my Kindle Voyage. This is contradictory to what is repeatedly said on this site.

Again, to be perfectly clear...I use the version of notepad that comes with Windows to edit config files, scripts, and web pages, and have never ever, not once, had a problem. I have been doing this since around 1996 or so--I used to use it to edit sql code back when I was in college. Have any of you ever actually had problems created when using notepad? Or is it just repeated from geek to geek that it will kill your code because...WINDOES!!

Shari
shalym 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 08:51 PM.


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