06/29/2009, 03:34 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 18
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
|
Hi Guys,
I am hoping someone can point me in the right direction. I am interested in getting Hebrew working on my Pre. I realize that only replacing the fonts will not suffice since Hebrew requires a right-to-left engine as well (which I hope someone will port from Linux at some point). Until then - How can I modify or replace the fonts on my rooted device so that I can at least see the right characters instead of (very nice, yet still-) square blocks? I will appreciate any assistance. Thanks! |
07/14/2009, 07:02 PM
|
#2 (permalink) | |
|
Member
![]() Join Date: Jul 2009
Posts: 117
Likes Received: 0
Thanks: 25
Thanked 16 Times in 14 Posts
|
Quote:
it seems that you and me are the only ones on the net that cares for hebrew fonts on the pre
|
|
08/05/2009, 10:54 AM
|
#4 (permalink) |
|
Member
![]() Join Date: Nov 2002
Posts: 30
Likes Received: 0
Thanks: 0
Thanked 3 Times in 1 Post
|
Actually, the Pre already has RTL support, it's just none of the fonts in the browser have hebrew characters (though there are fonts on the device that have them). Input is another matter, though the on-screen keyboard should provide the solution to that shortly.
Anyway, if you don't mind losing some CJK support, you can simply overwrite one of the following font files on your device with one that has Hebrew characters: VL-PGothic-Regular.ttf (Japanese) uming.ttc (Chinese) batang.ttf (Korean) If you are familiar with Linux, this is easy to do. Everything you need is on the device already. The fonts are in /usr/share/fonts - I replaced batang.ttf with frefont/FreeSans.ttf and it worked like a charm (after a reboot). If you prefer another hebrew font, any TrueType font should work just fine. Palm updates will likely overwrite the changes (1.1.0 did), so you'll probably need to redo it after every update until palm decides to add official support. Alternatively you could build your webcore from source (see opensource.palm.com) and modify PGFallbackFonts::init() to register more fonts, but I'll leave that exercise to the reader. Finally, I'd suggest that everyone interested complain (politely) on palm's support board: webOS Software - Palm Support Community |
08/06/2009, 01:48 AM
|
#5 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 19
Likes Received: 0
Thanks: 44
Thanked 2 Times in 2 Posts
|
i couldn't overwrite the file.. i keep getting cannot remove '/usr/share/fonts/batang.ttf': Read-only file system ...
how to do it? ok i got it and copied it.. but still it won't show unicode characters! can you post the font file you are using? i just want to be able to read and don't care about writing now Last edited by PapaDocta; 08/06/2009 at 03:07 AM. |
10/22/2009, 11:47 PM
|
#6 (permalink) |
|
Member
![]() Join Date: Dec 2004
Posts: 38
Likes Received: 0
Thanks: 0
Thanked 12 Times in 5 Posts
|
Assuming you've already previously rooted your Pre, you can do what I just did:
1. Download the file at ftp://ftp.gnu.org/pub/gnu/freefont/f...0060126.tar.gz 2. Extract FreeSans.ttf 3. Connect your PRE as USB drive, and copy the FreeSans.ttf to the 'downloads' folder 4. Root your pre: enable developer mode, then from your Windows command prompt, type 'Novacom -t open tty://' 5. 'mount -o remount,rw /' to enter read/write mode 6. 'cp /usr/share/fonts/batang.ttf /media/internal/downloads' to backup the original batang.ttf 7. 'cp /media/internal/downloads/FreeSans.ttf /usr/share/fonts/batang.ttf' to Overwrite the preinstalled batang.ttf with FreeSans.ttf (if prompted whether to overwrite batang.ttf, answer 'y') 8. 'mount -o remount,ro /' to go back to read only 9. Reboot your phone (you may want to exit Develepor Mode first). Congratulations, you can now read Hebrew Try at your own risk. I know nothing about Linux -- just browsed a bit and figured out how to follow jwsh's instructions. Shalom! Last edited by chabsin; 10/23/2009 at 08:34 AM. |
10/23/2009, 01:43 AM
|
#7 (permalink) | |
|
Member
![]() Join Date: Oct 2007
Posts: 875
Likes Received: 0
Thanks: 75
Thanked 40 Times in 35 Posts
|
Quote:
|
|
10/23/2009, 08:30 AM
|
#8 (permalink) |
|
Member
![]() Join Date: Dec 2004
Posts: 38
Likes Received: 0
Thanks: 0
Thanked 12 Times in 5 Posts
|
Start at step 4. Replace steps 6-7 with the following single command:
'cp /media/internal/downloads/batang.ttf /usr/share/fonts/batang.ttf'. reply 'y' if prompted. To turn it back on, you'll start from step 4 and skip step 6. |
11/13/2009, 06:37 AM
|
#10 (permalink) |
|
Member
![]() Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
|
jwsh i followed your instructions and it works tnx.
Now my palm pre reads Hebrew, but i wonder why cant read Arabic as well?!! also i downloaded some unicode and arabic fonts and did the instructions you mentioned but not working !!! even that Arabic fonts similar Hebrew fonts right to letf!! is there any way or trick to make it read arabic as well? Thanks in advance |
11/13/2009, 07:46 AM
|
#12 (permalink) | |
|
Member
![]() Join Date: Jan 2007
Posts: 445
Likes Received: 10
Thanks: 74
Thanked 85 Times in 40 Posts
|
Quote:
I downloaded the webcore from opensource.palm.com and extract it but i cant find the PGFallbackFonts::init() to modify it to add mo languages! |
|
11/16/2009, 01:59 PM
|
#14 (permalink) |
|
Member
![]() Join Date: Nov 2009
Posts: 2
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
OK I succeeded to install the hebrew fonts!!! I am so happy now
![]() Now there is only one problem...on screen Hebrew keyboard.. Does anyone know regarding Hebrew virtual keyboard? |
12/05/2009, 12:53 PM
|
#15 (permalink) |
|
Member
![]() Join Date: Dec 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
hello everyone,
after i learned how to root my Pre, i did what ericizzy1 suggested and my PalmPre can read hebrew now.. still, it fails sometimes with emails. for example emails sent from outlook sometimes are still in gibrish (not the subject but the content of the email) is there a fix to that also? thank you all |
01/03/2010, 05:38 AM
|
#17 (permalink) |
|
Member
![]() Join Date: Dec 2007
Location: Israel
Posts: 29
Likes Received: 1
Thanks: 18
Thanked 3 Times in 3 Posts
|
A much easier way is to use quickinstall and overwrite the existing fonts.
From the tools menu, choose "send file" and then put "/usr/share/fonts" as the destination. I hope this will make things more simple. |
01/04/2010, 10:59 AM
|
#18 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 10
Likes Received: 0
Thanks: 1
Thanked 1 Time in 1 Post
|
I installed freesans using the quickinstall method detailed above, but haaretz still loads as blocks.
Do I specifically need to rename the file to overwrite another font? |
01/07/2010, 01:53 PM
|
#19 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 20
Likes Received: 0
Thanks: 9
Thanked 1 Time in 1 Post
|
I tried the easy way through WebOSQuickInstall - But after I press "send to device" - I get an ERROR message:" ERROR 1: Connection refused: connect" and then: "ERROR no device found" -
My device "IS" plugged in and visible on the computer... Can someone guide me please? Im totaly not a computer know how! ![]()
|
01/17/2010, 06:57 AM
|
#20 (permalink) |
|
Member
![]() Join Date: Dec 2009
Location: Poland
Posts: 79
Likes Received: 1
Thanks: 19
Thanked 11 Times in 10 Posts
|
You have to get the read/write access.
Try to run Command Line (WebOSQuickInstall --> Tools --> Linux Command Line), enter: 'mount -o remount,rw /' (w/o quotes) and then send Your file. It should help. Go back to read only mode (enter: 'mount -o remount,ro /' (w/o quotes). I didn't try this method in this particular case. I've tried this to change character table (alternate)to polish. -pretoo- |
![]() |
|
| Tags |
| fonts, hebrew, webos |
| Thread Tools | |
| Display Modes | |
|
|



