maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2006 / Maemo 2 / Mistral - Scirocco - Gregale (https://talk.maemo.org/forumdisplay.php?f=21)
-   -   ADD Chinese Font in Nokia 770, 2006os (https://talk.maemo.org/showthread.php?t=2929)

hower 2006-08-29 04:15

ADD Chinese Font in Nokia 770, 2006os
 
Thanks to wolfg. I was able to add the Chinese font in Nokia 770 with
2006os. Yes, the Chinese fonts works in all applications including opera. I have directory name and file name in Chinese too. The performance/speed of browsing web page (English or Chinese) is as good as the default font that comes with 2006os. The following is a summary of the instructions I learned from wolfg (http://guoyong.org/2006/08/03/247):

1. Find a copy of Truetype Chinese font. Fonts, simsun.ttf and simhei.ttf do not seem work in opera. Font fireflysung.ttf (link: http://www.study-area.org/apt/firefly-font/ ) works.
2. Run x-terminal
3. Execute command sudo gainroot to enable root access privilege.
4. Copy fireflysung.ttf to /usr/share/fonts/fireflysung.ttf
5. Execute command fc-cache –f to rebuild system font cache information.
6. Exit from x-terminal.
7. Reboot the device
8. Now opera and all applications should be able to display Chinese font
correctly.


In order to have the theme display Chinese font on the title bar correctly additional steps as described below are needed
(http://guoyong.org/2006/08/11/248):

1. Run x-terminal
2. Execute command sudo gainroot to enable root access privilege.
3. Locate the theme type you selected. For example:

Deck-top
theme color file
Theme1 orange /usr/share/themes/default/matchbox/theme.xml
Theme2 light blue /usr/share/themes/theme1/matchbox/theme.xml
Theme3 dark blue /usr/share/themes/theme2/matchbox/theme.xml
Theme4 gray /usr/share/themes/theme3/matchbox/theme.xml

4. Change to directory where the theme you used is located. For example:

cd /usr/share/themes/default/matchbox/

5. Make a backup copy

cp –i theme.xml theme.xml.original

6. Copy theme.xml to mmc card

cp -i theme.xml /media/mmc1/theme.xml

7. Execute command fc-list to find the exact font name you installed for use later.

8. Open file theme.xml that is located in mmc card with Notes program
(comes with 2006os).
9. Find the line that defines the font as shown below:

<font id="osso-TitleFont" def="Nokia Sans-17.85" />

10. Add the new font name and font size to it. Separate the fonts with |

The modified line is as shown below:

<font id="osso-TitleFont" def="AR PL New Sung,文鼎PL新宋-17.85:18px|Nokia Sans-17.85" />


11. Save it.

12. Copy the modified theme.xml back to its original directory and
overwrite it.

cp -i /media/mmc1/theme.xml /usr/share/themes/default/matchbox/theme.xml

13. Exit from x-terminal.
14. Reboot the device
15. The device is good to go.




I carry my Nokia 770 with 1GB mmc card in my pocket everyday. I have so much fun with it. I installed quite a few applications for everyday use. The internal memory of my Nokia is down to 28MB. But still working fine.

This is how I used it:

1. Listen to MP3 music – Audio player
2. Download and read daily news summary in English and Chinese – RSS feed reader
3. Surf web (English and Chinese web sites) – opera
4. Check Email in my office – opera
5. Check outlook calendar in my office - opera
6. Call friends – GoogleTalk (I email to Skype about installing skype in
Nokia 770. They replied that they are working on it, but no specific date to release it)
7. View PDF file – Evince
8. Engineering design spreadsheets – Gnumeric
9. Scientific calculator – free42
10. Read comic in Washington Post off-line – Image Viewer
11. Read fiction in Chinese and English – FBReader
12. Download Google Street map and Satellite map for off-line use -

maemomapper
13. Look for word in MWcollege dictionary – Sdic Viewer
14. Take some light duty notes – Xournal
15. Play games – Maemo Blocks, scummVM (BASS, Secret of Monkey Island,

Flight of Amazon Queen), Supertux, Powermanga.
16. Instant messenger – Gaim
17. Wake me up in the morning – alarm clock
18. listen to internetr radio - internet radio
19. I also use Gnumeric for my contact information.
20. It can only get better and better when new applications are being
released and existing applications are being updated.

oafbot 2006-08-29 04:34

very nice Hower...

It seems like people have had better luck displaying chinese in the past too (with OS2005).
I've tried stuff with Japanese fonts but could never get it to work.
I don't know if its an encoding issue that make Japanese inherently more troublesome.

well let me study up on what you did and give it a try with Japanese sometime. I hope Nokia takes these things into consideration when rolling out the next OS. Japan and China do after all constitute the No.2 and No.3 internet populations in the world (currently). I hope they take a serious look at asian language support (at least Chinese Japanese and Korean) at least on the display level if input proves too complex.

770 pet peeve rant: over.

oafbot 2006-08-29 05:14

Big thanks in Order!! :-)
 
OK I tried installing Japanese fonts using your method Hower,
and I was able to display Japanese!! :)

I got the truetype font off of my linux box since all japanese system fonts on my mac were either OTFs or data fork fonts.

I guess Japanese font files are huge (10~12MBs)... I never really payed attention before, but I can see why Nokia avoids installing these on a machine with limited internal memory.

takyusik 2006-09-22 23:30

:) Please could you clearly tell me how I can insall chinese fonts in my nokia 770. Please state step-by-step the written commands I have to type when I run the "x-terminal" as I'm abit dumb in entering or using commands. Thank you!

Quote:

Originally Posted by hower
Thanks to wolfg. I was able to add the Chinese font in Nokia 770 with
2006os. Yes, the Chinese fonts works in all applications including opera. I have directory name and file name in Chinese too. The performance/speed of browsing web page (English or Chinese) is as good as the default font that comes with 2006os. The following is a summary of the instructions I learned from wolfg (http://guoyong.org/2006/08/03/247):

1. Find a copy of Truetype Chinese font. Fonts, simsun.ttf and simhei.ttf do not seem work in opera. Font fireflysung.ttf (link: http://www.study-area.org/apt/firefly-font/ ) works.
2. Run x-terminal
3. Execute command sudo gainroot to enable root access privilege.
4. Copy fireflysung.ttf to /usr/share/fonts/fireflysung.ttf
5. Execute command fc-cache ?f to rebuild system font cache information.
6. Exit from x-terminal.
7. Reboot the device
8. Now opera and all applications should be able to display Chinese font
correctly.


In order to have the theme display Chinese font on the title bar correctly additional steps as described below are needed
(http://guoyong.org/2006/08/11/248):

1. Run x-terminal
2. Execute command sudo gainroot to enable root access privilege.
3. Locate the theme type you selected. For example:

Deck-top
theme color file
Theme1 orange /usr/share/themes/default/matchbox/theme.xml
Theme2 light blue /usr/share/themes/theme1/matchbox/theme.xml
Theme3 dark blue /usr/share/themes/theme2/matchbox/theme.xml
Theme4 gray /usr/share/themes/theme3/matchbox/theme.xml

4. Change to directory where the theme you used is located. For example:

cd /usr/share/themes/default/matchbox/

5. Make a backup copy

cp ?i theme.xml theme.xml.original

6. Copy theme.xml to mmc card

cp -i theme.xml /media/mmc1/theme.xml

7. Execute command fc-list to find the exact font name you installed for use later.

8. Open file theme.xml that is located in mmc card with Notes program
(comes with 2006os).
9. Find the line that defines the font as shown below:

<font id="osso-TitleFont" def="Nokia Sans-17.85" />

10. Add the new font name and font size to it. Separate the fonts with |

The modified line is as shown below:

<font id="osso-TitleFont" def="AR PL New Sung,??PL??-17.85:18px|Nokia Sans-17.85" />


11. Save it.

12. Copy the modified theme.xml back to its original directory and
overwrite it.

cp -i /media/mmc1/theme.xml /usr/share/themes/default/matchbox/theme.xml

13. Exit from x-terminal.
14. Reboot the device
15. The device is good to go.




I carry my Nokia 770 with 1GB mmc card in my pocket everyday. I have so much fun with it. I installed quite a few applications for everyday use. The internal memory of my Nokia is down to 28MB. But still working fine.

This is how I used it:

1. Listen to MP3 music ? Audio player
2. Download and read daily news summary in English and Chinese ? RSS feed reader
3. Surf web (English and Chinese web sites) ? opera
4. Check Email in my office ? opera
5. Check outlook calendar in my office - opera
6. Call friends ? GoogleTalk (I email to Skype about installing skype in
Nokia 770. They replied that they are working on it, but no specific date to release it)
7. View PDF file ? Evince
8. Engineering design spreadsheets ? Gnumeric
9. Scientific calculator ? free42
10. Read comic in Washington Post off-line ? Image Viewer
11. Read fiction in Chinese and English ? FBReader
12. Download Google Street map and Satellite map for off-line use -

maemomapper
13. Look for word in MWcollege dictionary ? Sdic Viewer
14. Take some light duty notes ? Xournal
15. Play games ? Maemo Blocks, scummVM (BASS, Secret of Monkey Island,

Flight of Amazon Queen), Supertux, Powermanga.
16. Instant messenger ? Gaim
17. Wake me up in the morning ? alarm clock
18. listen to internetr radio - internet radio
19. I also use Gnumeric for my contact information.
20. It can only get better and better when new applications are being
released and existing applications are being updated.


wolfg 2006-11-12 14:45

Quote:

Originally Posted by takyusik
:) Please could you clearly tell me how I can insall chinese fonts in my nokia 770. Please state step-by-step the written commands I have to type when I run the "x-terminal" as I'm abit dumb in entering or using commands. Thank you!

Now you can add Chinese font by install some deb packages.
Download from here: http://guoyong.org/2006/11/08/286

wolfg 2007-03-19 09:04

Re: ADD Chinese Font in Nokia 770, 2006os
 
UPDATE:
I setup a repository for Chinese fonts and themes.

Web address: http://maemo.guoyong.org/
Distribution: mistral
Components: user
Applications: ttf-firefly themes-zh-14pt

fondoo 2007-04-23 14:10

Re: ADD Chinese Font in Nokia 770, 2006os
 
will these deb files work on a n800 IT2007?

Quote:

Originally Posted by wolfg (Post 25183)
Now you can add Chinese font by install some deb packages.
Download from here: http://guoyong.org/2006/11/08/286


wolfg 2007-04-23 14:42

Re: ADD Chinese Font in Nokia 770, 2006os
 
Quote:

Originally Posted by fondoo (Post 45555)
will these deb files work on a n800 IT2007?

Now you can use maemo-cjk-support packages, for both n800 and n770.
http://maemocjk.garage.maemo.org

fondoo 2007-04-23 15:10

Re: ADD Chinese Font in Nokia 770, 2006os
 
thanks wolfg. that was so EASY!!

fondoo 2007-04-23 18:12

Re: ADD Chinese Font in Nokia 770, 2006os
 
hey wolfg, do you know how i can get back my BIG keyboard?

wolfg 2007-04-23 23:14

Re: ADD Chinese Font in Nokia 770, 2006os
 
Quote:

Originally Posted by fondoo (Post 45583)
hey wolfg, do you know how i can get back my BIG keyboard?

The maemocjk's vkb replaces the origin vkb, so you must uninstall maemocjk input method to switch to origin vkb. If you just want to see Chinese, install a font such like ttf-arphic-newsung is enough. You can install it from application manager.

fondoo 2007-04-24 02:33

Re: ADD Chinese Font in Nokia 770, 2006os
 
how do we go abouts uninstalling the whole application??

fondoo 2007-04-24 14:44

Re: ADD Chinese Font in Nokia 770, 2006os
 
do we uninstall the following files?

maeomo-chinese-support-n800
matchbox-keyboard
scim
scim-gtk2-immodule
scim-modules-socket
scim-pinyin
ttf-arphic-newsung


i just want the font to view chinese on teh browser. i have no n eed to write chinese on my n800.

wolfg 2007-04-25 12:14

Re: ADD Chinese Font in Nokia 770, 2006os
 
You should uninstall following packages:
scim-pinyin
scim-gtk2-immodule
scim-modules-socket
scim
libscim8c2a
matchbox-keyboard
libfakekey0

Keep the ttf-arphic-newsung!

fondoo 2007-04-25 13:18

Re: ADD Chinese Font in Nokia 770, 2006os
 
i reflashed my n800 back to factory. where can i find just the ttf-arphic-newsung font for just viewing on the browser?? i would like to install it directly to my n800.

wolfg 2007-04-25 13:42

Re: ADD Chinese Font in Nokia 770, 2006os
 
add this repository to your application manager's catalogue
Web address: http://maemocjk.garage.maemo.org/
Distribution: bora
Components: user
after refresh package list, choose ttf-arphic-newsung from list then install it.

fondoo 2007-04-25 13:59

Re: ADD Chinese Font in Nokia 770, 2006os
 
thanks wolfg, you're the best!!!

fleet 2007-05-10 11:45

Re: ADD Chinese Font in Nokia 770, 2006os
 
Hi Wolf.

I installed Maemo CJK on my N800 and then rebooted. This CJK works at Maemo pad for Korean writing.

However I cannot read Korean in web browser.
Help would be appreciated how to read Korean web pages..

I also tried to copy some Korean fonts to /home/users/.fonts/ (no success in the end).

Frustrated Fleet.

cj6666 2007-05-16 21:58

Re: ADD Chinese Font in Nokia 770, 2006os
 
Hi, Wolfg,

Following your method:

"Now you can use maemo-cjk-support packages, for both n800 and n770.
http://maemocjk.garage.maemo.org"

But my 770 complaints about not having hildon-libs0 installed. Do you have any idea how to install those library?

Thanks, I am hoping to be able to input as well as output Chinese on 770.

CJ

cj6666 2007-05-17 02:56

Re: ADD Chinese Font in Nokia 770, 2006os
 
OK, no response yet... probably because no one understand my question? Let me explained again:

I was able to go to maemocjk.garage.maemo.org and now, from

Application Manager -> Install New Application -> All

I click on maemo-chinese-support-770

And I got a message saying "Unable to install . Some packages required for the install are missing."

I click on details and it told me

Packages missing:
hildon-libs0 >= 0.12.24
hildon-libs0 >= 0.12.24

Anyone can tell me what to install the hildon-libs0????

Thanks. CJ

bbtt 2007-07-04 06:40

Re: ADD Chinese Font in Nokia 770, 2006os
 
I am using N800. I tried to install the ...-newsung font only to display Chinese following the instruction below. The browser and file manager can display Chinese very well. However, the FBReader still cannot display Chinese. Any tricks for FBReader?:confused:


Quote:

Originally Posted by wolfg (Post 45786)
add this repository to your application manager's catalogue
Web address: http://maemocjk.garage.maemo.org/
Distribution: bora
Components: user
after refresh package list, choose ttf-arphic-newsung from list then install it.


patpatbut 2007-07-17 09:21

Re: ADD Chinese Font in Nokia 770, 2006os
 
Hi all. I have added the maemocjk package into my n770 but the system is very sluggish. Can anyone tell me why? thnx

Modulok 2007-07-17 14:45

Re: ADD Chinese Font in Nokia 770, 2006os
 
Yes, because if you load a program the cjk input (scim for chinese) is also loaded. It is a pity that we still cannot toggle between using cjk input or not :(.

tinhnghia 2007-12-19 12:20

Re: ADD Chinese Font in Nokia 770, 2006os
 
Dear all. I just bought the n800 but I can not find how can add Vietnamese fonts in to the /user/share/fonts? always receive access denied?
How can I Execute command sudo as suggested from the beginning of this topic.
Please help
Many thanks

ch8xy 2007-12-19 12:38

Re: ADD Chinese Font in Nokia 770, 2006os
 
IJust copy simhei.ttf (from a Windows machine) to /usr/share/fonts/. This will give you Chinese display, but not input.

cyberghost 2007-12-27 17:46

Re: ADD Chinese Font in Nokia 770, 2006os
 
Quote:

Originally Posted by tinhnghia (Post 111046)
Dear all. I just bought the n800 but I can not find how can add Vietnamese fonts in to the /user/share/fonts? always receive access denied?
How can I Execute command sudo as suggested from the beginning of this topic.
Please help
Many thanks

You have to be at root to copy into that dir. Install becomeroot before you can execute command 'sudo gainroot'

ggbal 2008-03-21 07:14

Re: ADD Chinese Font in Nokia 770, 2006os
 
I have the exact same problem here. Did you solve this?

Quote:

Originally Posted by bbtt (Post 56073)
I am using N800. I tried to install the ...-newsung font only to display Chinese following the instruction below. The browser and file manager can display Chinese very well. However, the FBReader still cannot display Chinese. Any tricks for FBReader?:confused:



All times are GMT. The time now is 11:47.

vBulletin® Version 3.8.8