User Feedback :: From China ..fIRst USE smalllinux



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.

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 ?

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.

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'

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 ?

Next Page...
original here.