Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: From China ..fIRst USE smalllinux, ..< Next Oldest | Next Newest >
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Mar. 06 2007,12:41 QUOTE

Hello! I hope this works.
You need to build font index later using 'mkfontdir'.
1. You can get 'mkfontdir'
here
Best to install as root. If you are not root, use sudo:
'sudo dpkg-deb --extract xutils_4.3.0.dfsg.1-14sarge3_i386.deb /' <-Please don't miss out this '/'. It will extract everything into the system directories.
3. Now you can get Debian's Chinese fonts package from
here
'sudo dpkg-deb --extract xfonts-intl-chinese_1.2.1-3_all.deb /'
Now the fonts are installed but not yet detected.
4. 'sudo mkfontdir /usr/X11R6/lib/X11/fonts/misc'
This will rebuild the font index.
5. 'xset fp rehash'
This will make xserver detect the new fonts.
6. If you go into Firefox now, I think you can see Chinese.
Back to top
Profile PM 
xitonghan Offline





Group: Members
Posts: 20
Joined: Mar. 2007
Posted: Mar. 06 2007,17:26 QUOTE

Quote (stupid_idiot @ Mar. 06 2007,07:41)
Hello! I hope this works.
You need to build font index later using 'mkfontdir'.
1. You can get 'mkfontdir'
here
Best to install as root. If you are not root, use sudo:
'sudo dpkg-deb --extract xutils_4.3.0.dfsg.1-14sarge3_i386.deb /' <-Please don't miss out this '/'. It will extract everything into the system directories.
3. Now you can get Debian's Chinese fonts package from
here
'sudo dpkg-deb --extract xfonts-intl-chinese_1.2.1-3_all.deb /'
Now the fonts are installed but not yet detected.
4. 'sudo mkfontdir /usr/X11R6/lib/X11/fonts/misc'
This will rebuild the font index.
5. 'xset fp rehash'
This will make xserver detect the new fonts.
6. If you go into Firefox now, I think you can see Chinese.

thanks
i just try like your
now is better
but some word also show like "&#20848;&#22958;"(opera)or "??"(firefox)

how can i do then ?


--------------
a China DSL user on "LENEND Soleil 5200" with MMX166 16+64M RAM 1.44HDD
for Chinese linux lover!
DSL QQ Group:37130075
DSL Chinese web http://linux.1bu8.com
Back to top
Profile PM ICQ MSN 
xitonghan Offline





Group: Members
Posts: 20
Joined: Mar. 2007
Posted: Mar. 06 2007,17:44 QUOTE

How to add Chinese Fonts


Search 'google' for taipei16.pcf.gz. and download these fonts ( sizes 16,20,24) to .fonts/ directory.
Also create a file called  fonts.dir  to the same directory with the following lines;

3
taipei16.pcf.gz -taipei-fixed-medium-r-normal--16-150-75-75-c-160-big5-0
taipei20.pcf.gz -taipei-fixed-medium-r-normal--20-200-75-75-c-200-big5-0
taipei24.pcf.gz -taipei-fixed-medium-r-normal--24-240-75-75-c-240-big5-0


Edit .xinitrc and near the top, add this line ;     xset +fp $HOME/.fonts

Reboot.


--------------
a China DSL user on "LENEND Soleil 5200" with MMX166 16+64M RAM 1.44HDD
for Chinese linux lover!
DSL QQ Group:37130075
DSL Chinese web http://linux.1bu8.com
Back to top
Profile PM ICQ MSN 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Mar. 06 2007,22:39 QUOTE

Quote (stupid_idiot @ Mar. 06 2007,07:41)
Hello! I hope this works.
You need to build font index later using 'mkfontdir'.
1. You can get 'mkfontdir'
here
Best to install as root. If you are not root, use sudo:
'sudo dpkg-deb --extract xutils_4.3.0.dfsg.1-14sarge3_i386.deb /' <-Please don't miss out this '/'. It will extract everything into the system directories.
3. Now you can get Debian's Chinese fonts package from
here
'sudo dpkg-deb --extract xfonts-intl-chinese_1.2.1-3_all.deb /'
Now the fonts are installed but not yet detected.
4. 'sudo mkfontdir /usr/X11R6/lib/X11/fonts/misc'
This will rebuild the font index.
5. 'xset fp rehash'
This will make xserver detect the new fonts.
6. If you go into Firefox now, I think you can see Chinese.

This does not work.
It simply destroys your system directories and replaces them with whatever is inside the deb package.
So, please don't do it to your system!!!!
Please extract the .deb somewhere else and cp the things you need manually.
'dpkg-deb --extract XX.deb somewhere-else'
Back to top
Profile PM 
xitonghan Offline





Group: Members
Posts: 20
Joined: Mar. 2007
Posted: Mar. 07 2007,03:22 QUOTE

Quote (stupid_idiot @ Mar. 06 2007,17:39)
Quote (stupid_idiot @ Mar. 06 2007,07:41)
Hello! I hope this works.
You need to build font index later using 'mkfontdir'.
1. You can get 'mkfontdir'
here
Best to install as root. If you are not root, use sudo:
'sudo dpkg-deb --extract xutils_4.3.0.dfsg.1-14sarge3_i386.deb /' <-Please don't miss out this '/'. It will extract everything into the system directories.
3. Now you can get Debian's Chinese fonts package from
here
'sudo dpkg-deb --extract xfonts-intl-chinese_1.2.1-3_all.deb /'
Now the fonts are installed but not yet detected.
4. 'sudo mkfontdir /usr/X11R6/lib/X11/fonts/misc'
This will rebuild the font index.
5. 'xset fp rehash'
This will make xserver detect the new fonts.
6. If you go into Firefox now, I think you can see Chinese.

This does not work.
It simply destroys your system directories and replaces them with whatever is inside the deb package.
So, please don't do it to your system!!!!
Please extract the .deb somewhere else and cp the things you need manually.
'dpkg-deb --extract XX.deb somewhere-else'

?
what you mean ?


--------------
a China DSL user on "LENEND Soleil 5200" with MMX166 16+64M RAM 1.44HDD
for Chinese linux lover!
DSL QQ Group:37130075
DSL Chinese web http://linux.1bu8.com
Back to top
Profile PM ICQ MSN 
10 replies since Mar. 08 2006,13:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: From China ..fIRst USE smalllinux

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code