From China ..fIRst USE smalllinux


Forum: User Feedback
Topic: From China ..fIRst USE smalllinux
started by: xyk2

Posted by xyk2 on Mar. 08 2006,13:37
It is a very great os~
i first use linux -----small linux~~
i think i enter world of linux . :D

How can i show Chinese FONT in linux!!!how to install ??

Posted by xyk2 on Mar. 08 2006,13:39
Aha~~
ps:
i run it in window$

Posted by Kitanis on Mar. 09 2006,15:05
Welcome to the wonderful world of Linux.. and DSL is a great start to try
Posted by drx456 on Mar. 09 2006,18:16
pls read < Here >
It tell how to make a Chinese version of DSL

Posted by xitonghan on Mar. 06 2007,00:36
Quote (drx456 @ Mar. 09 2006,13:16)
pls read < Here >
It tell how to make a Chinese version of DSL

good
Posted by stupid_idiot on Mar. 06 2007,12: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.

Posted by xitonghan on Mar. 06 2007,17:26
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 ?

Posted by xitonghan on Mar. 06 2007,17:44
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.

Posted by stupid_idiot on Mar. 06 2007,22: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'

Posted by xitonghan on Mar. 07 2007,03:22
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 ?

Posted by xitonghan on Mar. 07 2007,03:55
i just translate it to Chinese

< http://www.1bu8.com/bbs/Announce/announce.asp?BoardID=40&ID=1247 >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.