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 05-16-2017, 11:56 AM   #1
t123yh
Junior Member
t123yh began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2017
Device: Kindle Paperwhite 3
Replacing Kindle's built-in fonts

You can replace any built-in font (for example, replace the Amazon Ember)!
This tutorial is for Linux users. Windows users may do this using some other squashfs tools, but unfortunately I don't have a Windows device at the moment)

You should have some basic knowledge of Linux such as mount, symbolic link and such. I'm not responsible for any damage on your device!

I replaced the Chinese Heiti to Source Sans Hans without any problem. Tested on my PW3.

Here's what I do:
1. Jailbreak
2. Install USBNetwork hack and enable it on boot (Important!)
3. Transfer the fonts file to your Linux computer (this should be done on your computer):
Code:
scp root@192.168.15.244:/usr/java/lib/fonts.sqsh .
4. Unpack the fonts file using unsqushfs:
Code:
unsquashfs fonts.sqsh
Now you should see a squashfs-root directory. All the fonts should be in it.
5. Replace the fonts you want. Note that otf can be directly renamed to ttf and will work.
6. Do some stuff on your kindle:
Code:
stop x
cd /usr/java/lib
umount fonts
mv fonts.sqsh /mnt/us # make a backup in case things do not work.
7. Copy fonts to your kindle (on your computer)
Code:
scp -r squashfs-root/* root@192.168.15.244:/usr/java/lib/fonts
8. Reboot your kindle.
Code:
reboot
And enjoy. If Kindle keeps rebooting, ssh into your kindle and do:
Code:
stop x
rm  /usr/java/lib/fonts/*
cp /mnt/us/fonts.sqsh /usr/java/lib
reboot
Note that system upgrades may completely wash this out and even make your device a brick. I'm not responsible for anything; But keep your USBNetwork on at boot to prepare for any incidents!
t123yh is offline   Reply With Quote
Old 05-16-2017, 12:56 PM   #2
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
And to avoid the documented problems with USBnetwork "auto" mode -
Instead use the combination of RP and CRP.
knc1 is offline   Reply With Quote
Reply

Tags
fonts


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing the default fonts Havner Kobo Developer's Corner 2 12-30-2016 12:57 PM
PRS-T1 replacing system default fonts ousia Sony Reader Dev Corner 0 11-06-2012 04:10 PM
How to add alternate fonts without replacing system fonts.(this time this is a guide) techiemonkey Kindle Developer's Corner 17 09-12-2012 04:55 PM
PRS-500 How do you replace the built-in fonts? DWzM Sony Reader Dev Corner 8 05-20-2007 09:24 AM
What fonts are built-in? Slava Sony Reader 14 10-13-2006 11:39 AM


All times are GMT -4. The time now is 01:46 AM.


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