Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 1 time | Joined on Aug 2006
#1
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.
 

The Following User Says Thank You to hower For This Useful Post:
oafbot's Avatar
Posts: 69 | Thanked: 4 times | Joined on Feb 2006 @ Boston, Massachusetts
#2
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's Avatar
Posts: 69 | Thanked: 4 times | Joined on Feb 2006 @ Boston, Massachusetts
#3
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.
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2006
#4
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!

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.
 
Posts: 21 | Thanked: 0 times | Joined on Aug 2006 @ Beijing
#5
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
 
Posts: 21 | Thanked: 0 times | Joined on Aug 2006 @ Beijing
#6
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
 
Posts: 62 | Thanked: 5 times | Joined on Apr 2007 @ NYC
#7
will these deb files work on a n800 IT2007?

Originally Posted by wolfg View Post
Now you can add Chinese font by install some deb packages.
Download from here: http://guoyong.org/2006/11/08/286
 
Posts: 21 | Thanked: 0 times | Joined on Aug 2006 @ Beijing
#8
Originally Posted by fondoo View Post
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
 
Posts: 62 | Thanked: 5 times | Joined on Apr 2007 @ NYC
#9
thanks wolfg. that was so EASY!!
 
Posts: 62 | Thanked: 5 times | Joined on Apr 2007 @ NYC
#10
hey wolfg, do you know how i can get back my BIG keyboard?
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:56.