GearHack

: :

Add Comment | Related Links | TrackBack
Related Content

Installing Chinese Big5 and GB2312 Fonts on OLPC XO

This past week, I wanted to use the OLPC XO as a ebook reader to read bedtime stories to my kids. And I happen to want to read a classic chinese folklore (yes, the stone monkey one). But when I brought up the Chinese Big5-encoded text on the browser, the character rendered like mahjong pieces; unreadable. So I spend some time figuring out how to install Chinese fonts on the OLPC XO. And here is how . . .

Download the four TrueType fonts from this page: Traditional Chinese. This page has all the fonts; just no instruction on how to install them. The fonts are store in the ".tar.gz" archives you downloaded. Use the following four commands to extract the files into directories:

tar xvfz ttf-arphic-bsmi00lp_2.10.orig.tar.gz

tar xvfz ttf-arphic-gbsn00lp_2.11.orig.tar.gz

tar xvfz ttf-arphic-gbsn00lp_2.11.orig.tar.gz

tar xvfz ttf-arphic-gkai00mp_2.11.orig.tar.gz

From each of the four directories that were created through the extraction process, take out the ".ttf" files. Once you have these four TrueType font files, you can trash the four directories. Now, use the following commands to install these font files:

su

mkdir "/usr/share/fonts/Arphic PL"

mv *.ttf "/usr/share/fonts/Arphic PL"

exit

After you have installed these fonts, you can start the browser activity and it will be able to render Chinese text.

Chieh Cheng
Sat, 21 Aug 2010 20:58:47 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Related Links

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 5 + 9?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

139 Users Online



Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.