![]() |
#1 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Oct 2009
Device: Nook
|
Arabic support on Nook Simple Touch
Arabic support on non-rooted Nook Simple Touch
Nook simple touch is the second generation of e-readers made by B&N , although it's released in 2011 ,it's based on Android 2.1 (released in 2009 !) , and hence its native support for Arabic ebooks is very poor, combined with fact you can't change system fonts , all you will see is bunch of ? squares here is a sample of Arabic Epub book on NST: ![]() so , is there any way to overcome this problem ? Rooting is the easy and the best way , once the device is rooted , you can replace certain files with patched ones +replacing DroidSansFallback.ttf with any arabic font ( I use DroidSansNaskh (don't forget to rename it ) in /system/fonts to have proper support of Arabic, once done you will see Arabic texts in most apps (ES file explorer, EzpdfReader , etc) ![]() For Arabic eups reading I highly recommend using moon reader+ pro 1.6 or any version that supports RTL (Right to left texts) . ![]() and even with this method bn stock reader won't display Arabic texts properly as its engine doesn't understand/support RTL . so , all mentioned above is for rooted devices, what about poor non-rooted NST users? well, here what I did [css font hack] first we are gonna use sigil as epub creator tool ... create a new epub file edit the html source and add the following @font-face { font-family: "Droid Sans Naskh" font-weight: normal; font-style: normal; src: url('res:///sdcard/fonts/DroidSansNaskh.ttf'); } 4.change the source of ttf file accoring to the location of the font you want to use. ![]() now the hard part, by default ,as you can see above, NST reader displays the Arbic words reversed and with un-connected letters, so we need to modify the text in a form NST can display properly they are different way to do it but the most accurate way is to use php class called Ar-PHP to use the script , I will assume you use linux , install php on your system download Ar-PHP class[ all credit goes to Khaled Alshamaa ] extract the file to any folder you like create 1.php file in the I18N folder and paste the follwoing code <?php include 'Arabic.php'; $lines = @file("1.txt"); $obj = new I18N_Arabic('Glyphs'); foreach($lines as $line ){ $text = $obj->utf8Glyphs($line); echo "$text \n" ; } ?> paste your arabic text in a txt file named 1.txt in your terminal cd to the I18N directory cd /home/live/Downloads/Arabic-3.6.0/I18N execute the follwoing command php a.php >2.txt the converted arabic text will be saved in 2.txt open the file and copy the uncomprehensible back to sigil , save your work .. this is how the file will be displayed using NST reader . ![]() the result is satisfying =) , thanx to the php-Ar class , diacritics handled and displayed properly on the NST., but alef-lam combinations needs some work from the developer. you can download all the files needed from this link If you have a question , or want a clarification ,leave a comment |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jul 2012
Device: None
|
great
I really liked the simple process you posted here but there's something really missing here and when we come to talk about the epub format, is that the format itself doesn't support arabic that well also when it comes to arabic epub books they are very rare and you wouldn't find Novels even classical novels like naguib mahfouz and the likes.
if in someway we can find these books as txt or doc and then turn them into epub that would be great. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2013
Device: NST
|
Moon+
Hello,
thx. Now i can read arabic ebup, but which Moon+ do you use? I tried Pro 1.6X and when i want to change the font the Reader jumps to Moon+ Main page. and i cant install the higher versions, 1.7 for example say parse error... Please help me |
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Oct 2009
Device: Nook
|
Quote:
yes , you can't install versions higher than 1.6 because the SDK library used totally incompatible with android 2.1 the Arabic content in general is scarce , most widely used format is PDF , i suggest using ezpdf reader as it supports pdfs on small-size devices, best regards |
|
![]() |
![]() |
![]() |
Tags |
arabic, nook 2 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arabic Support on Nook Simple touch | Mongey | Barnes & Noble NOOK | 4 | 07-25-2012 01:13 AM |
ConsumerReport: E-book readers: Nook Simple Touch tops Kindle Touch | afv011 | Barnes & Noble NOOK | 4 | 11-22-2011 03:39 PM |
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch | jbcohen | Which one should I buy? | 4 | 06-18-2011 07:58 PM |
Pre-ordering Nook Simple Touch or Kobo Touch? | SilentDuck | Which one should I buy? | 27 | 05-29-2011 05:27 PM |
Classic Does nook support Arabic Language? | sandy123 | Barnes & Noble NOOK | 10 | 05-07-2010 07:22 AM |