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 03-22-2015, 03:51 AM   #16
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: 145
Karma: 751295
Join Date: May 2010
Location: Moscow
Device: Kobo Aura H2O, Kobo Glo HD, Kindle PW2
ecostin
In what jar-file contains "/mnt/us/FONT_RAMP"?
kaznelson is offline   Reply With Quote
Advert
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: 36
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
Old 03-24-2015, 10:48 PM   #18
nqk
Addict
nqk began at the beginning.
 
Posts: 217
Karma: 10
Join Date: Feb 2012
Device: Samsung Galaxy Tab 8.9
Thank you, @ecostin, for the font size change hack.
nqk is offline   Reply With Quote
Old 04-22-2015, 08:29 PM   #19
odamizu
maniac
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: 630
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, 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). ADDED: 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
  • The text files should contain only 8 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]

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; 07-21-2015 at 12:24 PM. Reason: added info
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,223
Karma: 83049275
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
Analog Forever!
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: 15,025
Karma: 16548859
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
maniac
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: 630
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, 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, 502 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
maniac
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: 630
Karma: 1636110
Join Date: Mar 2015
Device: Kindle Oasis & Voyage, 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,223
Karma: 83049275
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: 1,961
Karma: 19000000
Join Date: Feb 2012
Location: New England
Device: KPW 1, 2, and 3, Voyage, Oasis 2, Kindle Fire, Kobo Aura HD, Onyx Lynx
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 online now   Reply With Quote
Old 04-23-2015, 05:21 PM   #29
knc1
Analog Forever!
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: 15,025
Karma: 16548859
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: 1,961
Karma: 19000000
Join Date: Feb 2012
Location: New England
Device: KPW 1, 2, and 3, Voyage, Oasis 2, Kindle Fire, Kobo Aura HD, Onyx Lynx
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 online now   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
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:26 PM.


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