PDA

View Full Version : ADD Chinese Font in Nokia 770, 2006os


hower
08-29-2006, 12:15 AM
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
08-29-2006, 12:34 AM
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
08-29-2006, 01:14 AM
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
09-22-2006, 07:30 PM
:) 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!

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
11-12-2006, 09:45 AM
:) 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
03-19-2007, 05:04 AM
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
04-23-2007, 10:10 AM
will these deb files work on a n800 IT2007?

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

wolfg
04-23-2007, 10:42 AM
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
04-23-2007, 11:10 AM
thanks wolfg. that was so EASY!!

fondoo
04-23-2007, 02:12 PM
hey wolfg, do you know how i can get back my BIG keyboard?

wolfg
04-23-2007, 07:14 PM
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
04-23-2007, 10:33 PM
how do we go abouts uninstalling the whole application??

fondoo
04-24-2007, 10:44 AM
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
04-25-2007, 08:14 AM
You should uninstall following packages:
scim-pinyin
scim-gtk2-immodule
scim-modules-socket
scim
libscim8c2a
matchbox-keyboard
libfakekey0

Keep the ttf-arphic-newsung!

fondoo
04-25-2007, 09:18 AM
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
04-25-2007, 09:42 AM
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
04-25-2007, 09:59 AM
thanks wolfg, you're the best!!!

fleet
05-10-2007, 07:45 AM
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
05-16-2007, 05:58 PM
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
05-16-2007, 10:56 PM
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
07-04-2007, 02:40 AM
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:


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
07-17-2007, 05:21 AM
Hi all. I have added the maemocjk package into my n770 but the system is very sluggish. Can anyone tell me why? thnx

Modulok
07-17-2007, 10:45 AM
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
12-19-2007, 07:20 AM
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
12-19-2007, 07:38 AM
IJust copy simhei.ttf (from a Windows machine) to /usr/share/fonts/. This will give you Chinese display, but not input.

cyberghost
12-27-2007, 12:46 PM
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
03-21-2008, 03:14 AM
I have the exact same problem here. Did you solve this?

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: