View Single Post
Old 12-14-2010, 11:39 PM   #59
xzhang_usa
Junior Member
xzhang_usa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2010
Device: kindle 3 wi-fi
add new fonts on kindle 3 wi-fi

NiluJe,

1. Does your instruction work dor kindle 3 wi-fi eReader?
2. in the fonts folder, do I need to same files name you instructed?
can I add more fonts other than those 3 fonts?

Thanks a lot,

xiaoyi


Quote:
Originally Posted by NiLuJe View Post
Hello again! In this quick little post I'll explain how to change the font used in the reader to use a custom font, without having to use the proper full-fledged font hack.

Note: FW 3.x only.

It's not as complete/powerful as the full hack, you'll only be able to change the reader font, exactly the same way as the official font switch in the [Aa] menu.

First, make sure your Kindle is on the Home screen before plugging it to your computer.

You'll have to edit the reader config file, which is located, once your Kindle is plugged to your computer, in the system\com.amazon.ebook.booklet.reader folder. (Att, Windows users: depending on your Windows Explorer settings, this folder might be hidden. To workaround this without messing with Windows Explorer settings, just enter the folder name in the address bar). Once you're there, open the reader.pref file in your favorite UNIX-aware text editor. (Yes, it's the same file where you can tweak the horizontal margins)

In there, just before the
Code:
FONT_FAMILY=
line, add:

Code:
ALLOW_USER_FONT=true
and replace the FONT_FAMILY= line with:

Code:
FONT_FAMILY=alt
Once that's done, we'll have to put our custom fonts where the Kindle expects them...

In the root of your Kindle, create a folder named fonts. In this new folder, you'll have to put your custom fonts with very specific names, according to their style, kinda like with the Fonts hack.

Regular: alt-Regular.ttf
Bold: alt-Bold.ttf
Italic: alt-Italic.ttf
Bold Italic: alt-BoldItalic.ttf

And that's it! Eject your Kindle, and Restart it. (Or, if you can, just restart the framework).

You Kindle should now be using your custom font instead of the usual Serif/Serif Condensed/Sans Serif .

As always with this kind of tinkering, it won't survive if you try to change this specific setting (font choice) in the [Aa] menu. But every other setting (ie. font size) in the menu should be fine .

On a sidenote, I'm also pretty sure Amazon has user screensavers ready under their sleeves, but I'm not sure how to try to enable it... Someone without the SS hack could try putting screensavers in a screensavers folder and hoping for the best, maybe? ^^ But I'm pretty sure that it'll need some kind of trigger file or config tweaked somewhere in order to work for now before it's officially enabled...

Note that the Kindle software now uses TrueType bytecode hinting instructions, and hint at the strongest level possible. (In terms of FT/FC settings: hintstyle=hintfull, hinting=true & autohint=false).

OpenType CFF fonts work fine too, without converting them .
xzhang_usa is offline   Reply With Quote