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. |
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. |
Quote (stupid_idiot @ Mar. 06 2007,17:39) | ||
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' |