Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ObiWan_C
Old
#1  
Member - OP
Thanks Meter 14
Posts: 67
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 466
Posts: 1,216
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 14
Posts: 67
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 466
Posts: 1,216
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 51
Posts: 132
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 14
Posts: 67
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 14
Posts: 67
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 51
Posts: 132
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 14
Posts: 67
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!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more