WARNING: this is an outdated version of the hack. Please go to this page of the blog for the current version.
Warnings:
this procedure could only be used when your Nook firmware version is the original 1.5.0 by B&N or any derived firmware (like softroot firmware 2.5.1); applying this procedure when your firmware (you can check your firmware version on Settings page of your Nook) is a different one, will probably lead to your reader not working anymore;applying this procedure you will void your warranty and you may even brick your Nook; i don't take any responsibility in the (unlikely) event something goes wrong while executing the below mentioned procedure;i received some feedback from user that applying the following procedure could require re-registering Nook in case it was already registered; is it also possible that it will be necessary to re-download purchased books from B&N. Please be sure this is not a problem in your case.
verify you have root access to your Nook; a short tutorial on how to get it here;download the font hack files:current version:fontHack_1.2.7z (17/12/2010, sha1: d23c014cd486f861ea646fb42b0860470ff3da20)
changelog:1.2 - fixed a bug of current font sometimes not correctly displayed in setting menu; in case file .fontname is missing, "unknown font X" is used as font name;1.1 - fixed a bug of ignored font definition in folder "font1";1.0 - intial version;
previous versions (do not use them; just for reference):fontHack_1.1.7z (06/12/2010, sha1: e75fc3edebaad89aa0c8fb0123fa799972226930)fontHack_1.0.7z (04/12/2010, sha1: 187cde1c26d09d3c2d00c1cb9386b811af3d27f8)
create a folder on you PC (let's call it C:\fontHackFolder), and then unpack the downloaded file on that folder;connect to your Nook through ADB (either over USB or Wi-Fi); if you don't know what this means, you can find more details here;make a backup of files on Nook we are going to modify (in case you want to rollback the font-related modification):adb pull /system/app/ReaderEpub.apk C:\fontHackFolder\original\ adb pull /system/lib/libpdfhost.so C:\fontHackFolder\original\On internal Nook sd-card (i.e. the one that by default is called "Nook" in Windows explorer, and that contains folders "my documents", "my screensavers", "my wallpapers"), create folder "my fonts" (lowercase);inside folder "my fonts", create 3 sub-folders: font1, font2 and font3; you should now see, when Nook is attached to a PC through USB cable, something like this;reboot your Nook.normal.ttf: for plain text;bold.ttf: for bold text;italic.ttf: for italic text;bold_italic.ttf: for bold and italic text;<name of the font>.fontname : this is an empty file, <name of the font> string is displayed in font change menu of ePub Reader application of Nook (in case this file is missing, the label "unknown font X" is used, being X equal respectively 1,2 or 3).
the modification introduced on libpdfhost.so toward the original one included in original firmware 1.5.0 by B&N is just on the CSS code used to manage font families, that for some reason i don't understand it is hardcoded into .so file, on this firmware version (instead that on APK file); just to be clear: i didn't replaced the .so file with the version used in previous firmware;use always lowercase file name (except for <name of the font>, where you can use whatever you want);use always ttf extension, even for otf fonts (that are also supported by Nook);apparently, some fonts are not supported by reader applications, for some unknown reasons; in that case, they are just ignored and the default font is instead used (i.e. Light Classic);in case the font files are missing on any fontX folder (or the entire folder fontX is missing), the corresponding default font is used.
No comments:
Post a Comment