yashsingh1/xdaforums huggingface dataset:
[HTC One X] drakexpl:
Odp: [MOD][TEST][17-01]New configuration of stock JB KERNEL for less power usage

Order and chaos from gameloft really suffers. I must go back to stock values :(

Wysyłane z mojego HTC One X za pomocą Tapatalk 2
[Nook Touch General] ectacy:
Hi everyone

I am a fan of Nook ST, however, the biggest problem with this cute reader is that It does not use Unicode Font. Hence, I cant read ebooks in my maternal language ( Vietnamese). Does any one know how to replace those default fonts with unicode fonts ( Of window) :(. I dont want to root my Nook because I just use it for reading :(

Thanks in advance :D:D:D:D
[Nook Touch General] digixmax:
You can find some helpful info/pointers at the following links:

http://phanquochuy.me/?p=114

http://nookdevs.com/Font_Changes

http://bookclubs.barnesandnoble.com...n-t-display-Vietnamese-characters/td-p/494819

http://www.mobileread.com/forums/showthread.php?t=178623
[Nook Touch General] Renate:
Usually the route to supporting unsupported character sets is to use the fallback font, DroidSansFallback.ttf

You might try a font from a newer version of Android or replacing it with some big font.

Since I don't know Vietnamese, I don't know exactly what chars you are looking for.

Are your books in Vietnamese using pre-compiled chars, that is a single char for glyph and accent?
[Nook Touch General] digixmax:
There are reasonably wide choices of fonts that can render the (modern) vietnamese character set (subset of latin alphabet with diacritical marks on vowels, plus one modified consonant), unfortunately none of them is in the stock Nook's font set, and the OP does not want to root his/her NST. Embedding font in the epubs is a pain, even with the referenced plug-in for Calibre.
[Nook Touch General] Renate:
Well, they may not want to root their Nook, but there is rooting and rooting.

If they slap Clockwork Mod Recovery on an SD card they can remount system, replace DroidSansFallback.ttf and reboot.

No harm done and no one the wiser.
[Nook Touch General] digixmax:
I took a peek at /system/fonts: DroidSansFallback.ttf is there but it does not show up in the font menu of the stock Reader. To get it in one would have to muck with the Reader's apk content.
[Nook Touch General] Renate:
DroidSansFallback.ttf is the fallback font.

You never specify it.

When you punch up a website in Hindi and your regular font does not support Hindi letters, the system tries the fallback font.

There is a lot of stuff in DroidSansFallback.ttf, but not everything.

On my desktop, for instance, Arial Unicode MS is the biggest font that I have.

It has pretty comprehensive support for many languages.

The Android 2.1 DroidSansFallback.ttf is 3,081,908 bytes.

The Android 4.0 DroidSansFallback.ttf is 5,300,184 bytes.

Arial Unicode MS is 24,172,892 bytes!
[Nook Touch General] ectacy:
thank digimax for such useful advice. I knew how to embed font into epub however it will be a bit trouble everytime i want to read a new book :P

I have an idea when I follow given links, especially Font_Changes of Nookdevs. If we modify the reader app in backup nook (.img) or in update files from B&N(.zip) then restore to device, will it work ?
[Nook Touch General] digixmax:
Your idea might work but it seems a bit "heavy-handed", I personally would explore and opt for a more surgical approach along the line @Renate posted above: e.g., use SD CWM to get the file-system mounted as writable then <adb push> the modified reader apk over.

BTW, what are some good sources of good Vietnamese books in epub formats?
[Nook Touch General] ectacy:
Here I attach an Vietnamese epub file, you can take it as sample for "nook surgery" ( I dont know which epub is good source of format, hence i picked one which is not converted by Calibre ) :P. I am newbie in Android, so much thing to explore and learn :D ADB seems a complicated tool :silly:
[Nook Touch General] digixmax:
I took a peek at Reader.apk (extracted from FW v1.1.2 I currently use): opening and hacking it up is more work than what I would invest into an exercise I thought of doing just for kick.

If you think stuffs like ADB is complicated, I'd suggest the path I had taken: root your NST and get free Mantano Reader from the Google Play store (it opens and displays just fine the Tuyet Son Phi Ho epub you posted above).
[Nook Touch General] ectacy:
thank you :( I will consider your advice about rooting and matano . Another solution is to sell my nook and get a kindle :cool:, no more epub, no more font ... just prc, just read.
[Nook Touch General] Renate:
In point of fact, the Reader doesn't handle fallback correctly.

You can get your font to work a number of ways.

The easiest is to substitute one of the fonts like Trebuchet.

Copy arialuni.ttf (Arial Unicode MS) from somewhere to DroidSansFallback.ttf

Create a few links so that bold and italics will work.

Connect with ADB shell:

mount -o rw,remount /dev/block/mmcblk0p5 /system
cd system/fonts
mv Trebuchet.ttf Trebuchet.bak
mv Trebuchet-Bold.ttf Trebuchet-Bold.bak
mv Trebuchet-BoldItalic.ttf Trebuchet-BoldItalic.bak
mv Trebuchet-Italic.ttf Trebuchet-Italic.bak

Push with ADB:

adb push arialuni.ttf /system/fonts/DroidSansFallback.ttf

Back to ADB shell:

cd system/fonts
ln DroidSansFallback.ttf Trebuchet.ttf
ln DroidSansFallback.ttf Trebuchet-Bold.ttf
ln DroidSansFallback.ttf Trebuchet-BoldItalic.ttf
ln DroidSansFallback.ttf Trebuchet-Italic.ttf

Open the book up and select "Trebuchet" as the font.

Here's the first page:
[Nook Touch General] ectacy:
Do I need to root my Nook touch to connect it with ADB ? :D
[Nook Touch General] ectacy:
thank Renate NST for your help :-? I think Swapping default reader and modified reader can be done without rooting :mad: I am reading your topic about modifying APK . It could be hard but I wont give up :P
[Nook Touch General] Renate:
This is not about swapping Reader.apk (or ReaderRMSDK.apk).

This is just about swapping fonts for one that support Vietnamese characters.

It doesn't involve changing anything in the boot partition.

Yes, to change anything in the system partition you must have root access somehow for as long as it takes to make the changes.

You have to put something on a SD card and boot up on that.

Your choices are:

Use one of the handy-dandy rooter tools that people post

Use Clockwork Mod Recovery that will directly allow you to use ADB

Use noogie and a Linux system to access the /system partition directly
[Nook Touch General] David0226:
I have found a way to accomplish this with minimal work on the Nook itself.

A little background. I like using the Caecilia font, but it really bugs me that I can't tell the difference between "normal" and "bold" text because for the latest version of Caecilia installed on the nook the weights of "normal" and "bold" are nearly identical. So I went looking for a way to fix that. Here is what I came with. It should work for any font you want to replace.

1) Obtain a copy of the font you want to use, in my case Lexia DaMa.

2) Obtain a copy of Type Light 3.2.

3) Using some temporary or permanent rooting method, copy the font you want to replace from the /system/fonts directory on your nook using adb pull.

4) Open the font file pulled from your nook in Type light 3.2 and note the name of the font stored INTERNALLY in the file.

5) Open the font you want to use in Type light 3.2 and rename it to match the font you are replacing.

6) Using adb push, copy your replacement font over the EXACT file names for the original font on your nook.

7) Reboot your nook.

7) Use your "new" font by selecting the name of the font you replaced.

You do not need to permanently root your device for this method to work and in does not involved creating links which a non-techie can easily mess up. You can do all of the font files for a particular font, or only the regular font file, depending on your purpose. For the OP's purpose, all of the font files should be done. For my purpose, I only did the "regular" file as Lexia DaMa and Caecilia are very close and the Caecilia BOLD, ITALIC, and BOLDITALIC work just fine for me. You should make a backup copy of the original font files from your nook either on or off the device in case you ever want to switch back.

If anyone is interested, I can post a more detailed (including actual commands) description of this method.
[Nook Touch General] Renate:
Links aren't that complicated.

In any case, the purpose of the links is to:

Insure that foreign language titles appear correctly in indexes.

Avoid the 4 times duplication of a 24 Meg font file!
[Nook Touch General] ectacy:
Your solution seems understandable for me @@ I am buried in a jumble of ADB, CWM, Shell,... :cyclops:
[Nook Touch General] ectacy:
Can you give me detail instruction on this solution. I am having noogie and a CD of Ubuntu. Are they enough to follow this method :victory:
[Nook Touch General] David0226:
You are right, they aren't. But they do require more work at a "command prompt", which scares many Windows/MAC users. My solution has very few "command prompt" commands (three I think) the rest can be done in GUI applications which most are more comfortable with.

Now being a old UNIX guy, I am off to see if creating some links gives me a better solution.....
[Nook Touch General] Renate:
Write noogie to an SD card

Insert SD card in Nook and reboot

"Root Forever" appears on the screen (don't worry, you aren't)

Attach a USB cable

Look for something new on your PC under /dev/block/ or fdisk -l

Use that address for a mount command:

mkdir /mnt/nooksys
mount -t ext2 /dev/block/[i]something[/i]p5 /mnt/nooksys
cd /mnt/nooksys/fonts
ls

Copy over the fonts

Remove the SD card

Reboot the nook
[Nook Touch General] ectacy:
using Ubuntu run from DVD, I followed your instruction but when I "look for something new under dev/block/", I cant find anything but files named x:xx ( for instance 1:2, 8:10...). What do you mean by "somethingnew".:confused::confused:
[Nook Touch General] ectacy:
I Observed block folder. Àter pluging my nook in, there were 7 files appeared. 8:19-8.24 and 8:32 :confused: :( which one should be used in "something"p5 :(
[Nook Touch General] ectacy:
Moreover, the system partition's name is 302 MB :confused::confused: Do I need to factory reset my Nook ST :-?
[Nook Touch General] Renate:
No! Don't reset anything.

You can try mounting partition, but be careful.

Try the mount commands like I said, presumably on the fifth of these 7 partitions.

If you can cd to system/fonts then you have the right partition.
[Nook Touch General] ectacy:
I tried to mount

First I typed sudo -s to get root. Then i created nooksys in mnt by mkdir. After considering your advice,I try with this command

Mount -t ext3 /media/ubuntu/xxxx mnt/nooksys

With xxxx is the drive which contains system/fonts. However, it returned " mount point mnt/nooksys does not exist" :confused:
[Nook Touch General] ectacy:
Here is inside
[Nook Touch General] ectacy:
A screenshot taken in dev/block/

Pls help me :( I dont want to waste my 2 days with nothing returns :(
[Nook Touch General] ectacy:
I am sorry, this one is inside dev/block/

I found that when plugging my nook in, i can see 7 partions appearing in media/ubuntu/ not dev/block . What does it mean?
[Nook Touch General] ectacy:
I DID IT !!!!!!!!!!!!!!!!!!!! I dont know how to thank you for helping me :crying::crying::crying::crying::crying::crying::crying::crying:
[Nook Touch General] ectacy:
Everything seems not easy :(

I substituted Nook Caecilia with Kindle Caecilia ( bot regular, Bold, Italic and bold Italic). However, after rebooting, my nook can not display Caecilia as it did before restarting. In other books, when I chose Caecilia, the display font is Malabar :(:crying:
[Nook Touch General] Renate:
Why were you trying to replace a Nook Caecilia font with a Kindle Caecilia font?

Did you think that the Kindle font had Vietnamese characters?

If you replace the fallback font I believe that the Vietnamese book titles will show up in the library correctly.

Then you can work on getting the actual book to work correctly with links.

(The reason I can't say what the Library app will do is that I haven't seen it in a year.)
[Nook Touch General] ectacy:
I followed your guide and here are steps that I took:

1> Opened Terminal then got root access by

sudo -s

2> Then I used

fdisk -l

to locate name of partition containing fonts folder. The result is " sdb5".

3> I applied mount command with this partition

mkdir /mnt/nooksys
mount -t ext2 /dev/sdb5 /mnt/nooksys

After that I can cd into fonts folder however the link was /mnt/nooksys/fonts/ ( It didnot contain "system" as you told - is that wrong)

4> I prepared ARIALUNI.TTF copied from window fonts then renamed it into DroidSansFallback.ttf ( with Typelight 3.2)

5> After renaming all related fonts of nook into BAK as you did, I moved this font to fonts folder:

mv media/ubuntu/Data/Fonts/DroidSansFallback.ttf /mnt/nooksys/fonts/
ln DroidSansFallback.ttf Trebuchet.ttf
...

The code run smoothly but when I reboot the Nook, It can not render my new Trebuchet font. :confused: moreover, when i get all fonts in nook replaced by my fonts , it got stuck at read forever screen :-/
[Nook Touch General] ectacy:
Before posting this topic in xda-developer , I joined Vietnamese forums and read some articles about rooting and changing fonts. After rooting, users are given advice to replace Nook's font with Kindle's one because it can display Vietnamese Characters. I also tried embedding this font into epubs, It worked :rolleyes:
[Nook Touch General] Renate:
Oops, I made it nooksys to keep it clear of whatever you had mounted.

The extra bit with system was wrong.

Prepared? Typelight? Why?

All fonts? How many? Why?

Did you get your Nook back to running?
[Nook Touch General] ectacy:
Well, I tried two times. First with default font, it did not work so I tried the second time with new name. Same results.

Here is the font pack supporting Vietnamese. It is used with touch nooter in Vietnamese article mentioned. When rooting nook with touchnooter, they put them in fonts folder of Nooter SD card.

http://www[dot]mediafire[dot]com/?b8oisbtcrpsi7re

Before applying those dangerous steps, I made a backup of my Nook. Counting from last night, I restored my Nook 3 times :D:D:D. Hope to see your reply in every minute :(:(:(

I wonder your screenshot in this topic, is that default reader of nook ?
[Nook Touch General] ectacy:
Wow I ve just tried Chmod. My nook stopped at Read Forever ... The fiftth time of Restoration =)) Can it harm my nook ?
[Nook Touch General] Renate:
There's no reason that screwing around with fonts should be bricking your Nook.

As long as you can do a restore, you're ok.

Usually the default mode (as in chmod) will be fine for reading, but do an ls-l and see what was there.

Try just replacing DroidSansFallback.ttf

Yes, that is the stock reader in my screenshot.

(Unrelated: My Nook has a boot brick but I'll hook up my kernel monitor later and see what the deal is.)
[Nook Touch General] ectacy:
If I put an apk into system/app/ , can it run ? For example fbreader ?
[Nook Touch General] ectacy:
I dont know why my nook can get over "reading forever" with all font replaced :)) it display ver well even in llibrary and epub @@ but the caecilia is not what i want so i tried the second time, now :( it was stopped at read forever again :))
[Nook Touch General] ectacy:
Wow MISSION COMPLETED !!!!!!!!!!!!!!!!!! :laugh::laugh::laugh::laugh::laugh:
[Nook Touch General] Renate:
Actually, you can save a bit of system overhead by only having one link to the fallback font.

That is:

adb shell rm /system/fonts/Trebuchet.*
adb push C:\Windows\fonts\arialuni.ttf /system/fonts/DroidSansFallback.ttf
adb shell ln /system/fonts/DroidSansFallback.ttf /system/fonts/Trebuchet.ttf

The bold, italic and bold italic all default to the normal font.
[Nook Touch General] ectacy:
Last night, the first time my Nook reader app crashed. I will try your solution, It seems better.

However, thank you for helping me :( Now my Nook can fully display VietNamese epub both in Library and reader app with all fonts :victory::victory::victory:. The tiny problem makes my nook stuck at Read Forever is helveticaenue font. I keep the default font of nook and my Nook can run smoothly :victory::victory::victory:.

Now I am moving to dictionary with your thread :D:D:D:D:D Alternative dictionaries ).

PS:// If i use linux to put FBreader.apk into system/app , can it run ?
[Nook Touch General] mrbtuan:
Thank for your help.

I was rename my fonts to Nook fonts and replace all them. Everything's OK.
[Nook Touch General] :
#DiggingUpOldThreadsFTW! :laugh:

But, I am posting here for a good reason. This seems to be the very most on-topic thread I can find for my issue.

I really, r e a l l y want to change my Nook Touch Glow UI fonts (default HelveticaNeue) to Continuum (the XDA Developers icon font!). I followed these logical steps:

1. Get the Continuum fonts and copy/rename them to correspond EXACTLY with every font in /system/fonts that has Helvetica in its name.

2. Replace the original Helvetica fonts with the renamed Continuum ones.

3. Reboot.

Should work, right? Wrong! After following the above steps, I get an incomplete boot (stuck at booting.pgm, not even a bootloop!). Interestingly, a Clockwork install .zip that *should* fix the problem doesn't even get rid of the incomplete boot. Only restoring my Noogie backup worked, and boy, was I glad about that.

So, to sum it up, can anyone give me a diagnosis of what the heck is happening? I feel like yelling at my Nook, "Dude! They're just fonts! Why are you acting like they're your boot partition and that I screwed it up?!"

:p
[Nook Touch General] David0226:
If you check post 44, you will see that the OP had the same problem after swapping out HelveticaNeue. Unfortunitely, I can't tell you why this is happening. I have two suggestions. First you can try using links instead of overwriting one font file with another. The second would be to try to modify the Continuum font files so that the font name INTERNAL to the file is the same as the font name INTERNAL to the HelviticaNeue font on the Nook. Look at post 17 for one possible way to do this. I certainly can't guarantee that either of these will work, but you can try if you are so inclined.
[Nook Touch General] :
Yes, I'd already read through the thread a few times before posting.

Thanks for the tips. I will try them when I get the chance. :)

Would you run through how to do the "link" method? Thank you.
[Nook Touch General] :
Been spending a lot of time researching this, may've found a useful article: How to change the fonts on your Android phone.

Namely, the method of using the terminal to do

su
mount -o rw,remount rootfs /
cd /system/fonts
chmod 644 [filename].ttf (for each copied font)

before rebooting to apply the changes. However, I am a bit hesitant to try this, as the last time I replaced HelveticaNeue.ttf with my *externally* renamed ContinuumMedium.ttf, I think I instantly got a flashing black-and-white screen (with status bar at top) before I hot rebooted. Therefore, I may not be able to copy my fonts to /system/font and then go into the terminal and execute the commands.

I'll be more than happy to try this tomorrw when I can make a fresh Noogie backup, but am not going to risk "soft-bricking" my device while I'm using it for forum posting and such.

EDIT 1 - I have successfully gotten Continuum Bold and Continuum Medium installed in place of Droid Sans Bold and Droid Sans, respectively, using the Font Installer Root app. The main places I've seen the new fonts available/in use are: in [MENTION=4474482]Renate NST[/MENTION]'s Temblast Reader app (they're both available for usage); in the stock reader's dictionary when the "No results found for [this word]" message is summoned; and also in the Hotmail app.

Making progress, slowly but surely, toward my goal! :)
[Nook Touch General] David0226:
Okay, so I believe you already know how to get into an adb shell and remount /system as read/write.

Get the {new_font}.ttf files copied to /system/fonts.

So what I do is first make a backup copy of the existing font files (I created a directory called /system/archive to do this). I MOVE the existing font file to /system/archive.

Now for each font (normal, bold, italic, bold italic) issue a command like this:

ln -s {standard_font}.ttf {new_font}.ttf

NOTE: I don't always remember the correct order of the font files for this command :o. If you try my command and get a file already exists message, reverse the order of the font file names.

~David
[Nook Touch General] :
Thanks, man! And yeah, I'm an "old pro" at the whole shell/ADB thing. Been in this line of work for a few years. :laugh:

I bring good news, too! I have successfully replaced HelveticaNeue.ttf and HelveticaNeueMedium.ttf with ContinuumMedium.ttf using the Font Installer Root app I mentioned before - however, I can't seem to replace any of the fonts that have a new weight (bold/italic/bolditalic). When I replace those, it always hangs at booting.pgm. However, I will try your link method. Thanks again for the tip.

I am hoping to post my /system/fonts as a project when I completely get Continuum working, and I will definitely mention you as a big help! :D

P.S. Check out the screenshot of my Settings screen with the Continuum Medium font applied! It's awesome! However, I am going to have to go into the framework-res.apk to edit the Settings header (to make it Continuum, too).
[Nook Touch General] :
Need a few specifications. Words in bold are my speculations/questions.

"Okay, so I believe you already know how to get into an adb shell and remount /system as read/write. Yes, I do. Thanks for making sure, though.

Get the {new_font}.ttf files copied to /system/fonts. Would these be the Continuum fonts, but renamed to match the originals, or just plain "Continuum [weight].ttf"?

So what I do is first make a backup copy of the existing font files (I created a directory called /system/archive to do this). I MOVE the existing font file to /system/archive. So I move all the Helvetica fonts from /system/app to /system/archive?

Now for each font (normal, bold, italic, bold italic) issue a command like this:

ln -s {standard_font}.ttf {new_font}.ttf

Do I need to do a cd before I execute this? If so, to where should I cd?

Would these {x_font}.ttf files need a path?

NOTE: I don't always remember the correct order of the font files for this command :o. If you try my command and get a file already exists message, reverse the order of the font file names. When I have completed this tutorial, what will the filenames of the links made be?

BIG Question - Why are we linking the old fonts to /system/fonts? Shouldn't we be linking the new fonts to it, instead?

~David"

Hope you can answer my questions.

BTW, since you are devoid of a good signature, if I can successfully get this working, I am going to make you a signature picture like mine! :) See the [Signature] I make custom XDA signatures! thread linked in my signature for color choices.
[Nook Touch General] Renate:
In a sane world (i.e. one without the B&N reader app) we don't substitute fonts, we just add them.

My reader uses whichever fonts are available.
[Nook Touch General] :
That's great, and yeah, I know. I LOVE your reader app, remember? :p

I'm talking about actually replacing the UI font. :laugh:
[Nook Touch General] David0226:
And now that I have answered your questions, I can tell you that I tried and it doesn't work. I can also tell you that I think I know why. The size of the HelveticaNeue{x}.ttf files is significantly larger than that of the cont{x}.ttf files. I believe that the continuum fonts is lacking some of the characters the Nook needs.

~David

I'll consider your signature suggestion next week.