Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,579 Members 43,658 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 16
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 804
Posts: 1,993
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 16
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 804
Posts: 1,993
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 54
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 16
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 16
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 54
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 16
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


Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more

Change Your Samsung Galaxy S2’s Dialer Background in Real Time

As with anything, if youve looked at something long enough, things can … more

Increase Your Multitasking Workflow with C-Floating Windows

Technology has put life on the fast track. Lazy, relaxed days have turned into … more

Compile Your Own Kernel From Source with Comprehensive Tutorial

One glance at any developer section of any device forum on XDA and youll find … more