5,595,196 Members 44,886 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Add LTR support and fonts, possible?

Tip us?
 
ObiWan_C
Old
#1  
Member - OP
Thanks Meter 15
Posts: 70
Join Date: Feb 2012
Default [Q] Add LTR support and fonts, possible?

Hey

I was reading on nookdevs.com and some posts on XDA about RTL support and supporting more languages (for apps like opera mobile and for books), specifically Hebrew. At this point when I browse to any Hebrew web site I can see only squares.
Is it possible? If it is possible, how can I do it?
Forget DROPBOX! Have 10GB for free here!
Use this link and we BOTH get 1GB extra for life!
 
Renate NST
Old
#2  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 699
Posts: 1,776
Join Date: Feb 2012
Location: Boston
/system/fonts/DroidSansFallback.ttf is the font of choice when all else fails.

Apparently it has Chinese but no Hebrew. (I'd never though to look.)

The DejaVu fonts have Hebrew, find them here: http://sourceforge.net/projects/dejavu/files/

Copy whichever you want over to /system/fonts/DroidSansFallback.ttf

You will lose Chinese when you do that.
The Following User Says Thank You to Renate NST For This Useful Post: [ Click to Expand ]
 
ObiWan_C
Old
(Last edited by ObiWan_C; 21st April 2012 at 08:38 PM.)
#3  
Member - OP
Thanks Meter 15
Posts: 70
Join Date: Feb 2012
Quote:
Originally Posted by Renate NST View Post
/system/fonts/DroidSansFallback.ttf is the font of choice when all else fails.

Apparently it has Chinese but no Hebrew. (I'd never though to look.)

The DejaVu fonts have Hebrew, find them here: http://sourceforge.net/projects/dejavu/files/

Copy whichever you want over to /system/fonts/DroidSansFallback.ttf

You will lose Chinese when you do that.
So all I need to do is to rename the dejavu font and copy it over to the nook?
What about the RTL support? Do you have idea how do I make ir work?
I know that some guys here have Arabic installed, it's also RTL. But I don't know how they did it


edit:
Installed the fonts and it works great! Thank you.
All that is left is to find a Hebrew keyboard and RTL support.
Forget DROPBOX! Have 10GB for free here!
Use this link and we BOTH get 1GB extra for life!
 
Renate NST
Old
#4  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 699
Posts: 1,776
Join Date: Feb 2012
Location: Boston
I don't know anything about RTL but HTML with dir="rtl" gets reversed in Opera Mobile.

Neither have I looked into soft IMEs for other charsets.

However, if you want to use an external USB keyboard it's trivial to put the Unicode into /system/usr/keychars/qwerty.kcm.bin
 
dark_hawk
Old
#5  
dark_hawk's Avatar
Senior Member
Thanks Meter 53
Posts: 135
Join Date: May 2004
Quote:
Originally Posted by ObiWan_C View Post
Hey

I was reading on nookdevs.com and some posts on XDA about RTL support and supporting more languages (for apps like opera mobile and for books), specifically Hebrew. At this point when I browse to any Hebrew web site I can see only squares.
Is it possible? If it is possible, how can I do it?
http://forum.xda-developers.com/show....php?t=1367829
The Following User Says Thank You to dark_hawk For This Useful Post: [ Click to Expand ]
 
ObiWan_C
Old
#6  
Member - OP
Thanks Meter 15
Posts: 70
Join Date: Feb 2012
Quote:
Originally Posted by dark_hawk View Post
Shukran!
Forget DROPBOX! Have 10GB for free here!
Use this link and we BOTH get 1GB extra for life!
 
ObiWan_C
Old
#7  
Member - OP
Thanks Meter 15
Posts: 70
Join Date: Feb 2012
Quote:
Originally Posted by dark_hawk View Post
I was playing around with this app, but it doesn't recognized the nook as a phone and can't patch it. How did you get it to work on your nook?
Forget DROPBOX! Have 10GB for free here!
Use this link and we BOTH get 1GB extra for life!
 
dark_hawk
Old
#8  
dark_hawk's Avatar
Senior Member
Thanks Meter 53
Posts: 135
Join Date: May 2004
Quote:
Originally Posted by ObiWan_C View Post
I was playing around with this app, but it doesn't recognized the nook as a phone and can't patch it. How did you get it to work on your nook?
What app?

I was referring to this post.
http://forum.xda-developers.com/show...2&postcount=26
It works well enough for Arabic and I find no reason why it won't work for Hebrew.
 
ObiWan_C
Old
#9  
Member - OP
Thanks Meter 15
Posts: 70
Join Date: Feb 2012
Great, it worked!
At first I thought that you where talking about the app from your first post.
Forget DROPBOX! Have 10GB for free here!
Use this link and we BOTH get 1GB extra for life!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more

[APK] YouTube Update to 5.6 Now Lets You Cast Live Video to Your Chromecast

Earlier today, we talked about how Google brought two new apps to … more