View Single Post
Old 12-06-2013, 08:54 PM   #1
ameho
Member
ameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongueameho can tie a knot in a cherry stem with his or her tongue
 
ameho's Avatar
 
Posts: 13
Karma: 22534
Join Date: Oct 2013
Location: China
Device: Kindle PW2
Kindle PaperWhite 2 Fonts Hack

I just succeed in adding custom fonts on my kindle paperwhite 2 jp.
Here is the snapshot:

[Image deleted - MODERATOR]

As you can see , the fifth font that i selected is just a custom font that i added to my kpw2.

My method is not a easy way for you to customize your fav font. So i post my operation here, hope to find a better way to add whatever font i like.

PS. I am a chinese, so that means i'm not good at english. I would make some grammar errors in my english writing.

First of all,i just use the official ways to update a font bundle for my fav fonts.So kindletools help me a lot, thank NiLuJe.

Jailbreak your kindle, install the usbnet.
Edit the file /var/local/java/prefs/master.manifest, add your font properties just like "language":"zh-Hans" or "language":"ja", and the downloadURL must be a link to get the font update in the future.

Download the official fonts update, the link is mentioned in master.manifest
Unpack it by kindletool, and you would see three files.
The file manifest and *.font can be convert to a editable file use: kindletool convert -w theinputfile

The manifest would be a text file, you need to edit to match your font. And the file named *.font would be a Linux Compressed ROM File System data, upack it and add your fonts. Don't forget to edit the conf file and get the font cache on your kindle.

Finally, you need to pack them at all.Just like this:kindletool create sig --bundle SP01 --unsigned --userdata --cert 0 manifest.tgz data.stgz

And compress the three files in tar.gz, use kindletool to convert it like: kindletool create ota2 --device k1 --bundle FL01 --tgtrev 2 zh-Hans/zh-Hans.tar.gz update_zh-Hans.bin

Also your need to add a configure file in /usr/lib/font/manifests/ ,your must copy the prior manifest file in this path and named it like manifest_zh-Hans.
zh-Hans would be the locale you choose to add your font.

That's it.

Last edited by Dr. Drib; 12-06-2013 at 09:12 PM.
ameho is offline   Reply With Quote