View Single Post
Old 08-24-2009, 10:52 AM   #4
spuggy
Member
spuggy is on a distinguished road
 
Posts: 12
Karma: 52
Join Date: Aug 2009
Device: iRex DR1000s
Hello Olis
Run .sh copy it, there is one Zip at one blog which I study from it, hope you can read Chinese.

I list the method
the SD directory file list
\Programs\InstallChinese.desktop
\Programs\_chinese\install.sh is
\Programs\font\font.ttf


the content of InstallChinese.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Install Chinese Display support
Type=Application
Exec=/media/mmcblk0p1/Programs/_chinese/install.sh



the content of install.sh is
#!/bin/sh
cd /media/mmcblk0p1/Programs/_chinese
/bin/cp ./fonts/font.ttf /usr/share/fonts/ttf/
fc-cache
/sbin/reboot
sleep 31


then plug the SD into your DR1000, entering Programs run InstallChinese.desktop

after, you can change the install.sh content to list
cd /media/mmcblk0p1/Programs/_chinese
/bin/ls /usr/share/fonts/ttf/ >/media/mmcblk0p1/Programs/fontlist.txt
sleep 5


read the fontlist.txt to see it.
spuggy is offline   Reply With Quote