SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Why Slackware 10.2 didn't have chinese fonts?
I use FULL INSTALLTION mode to install it.
And , where can i find the chinese font?
Can Truetype fonts in windows xp used in slackware ?
how can i install the chinese fonts?
by the way, did slackware 11.0 have chinese fonts?
I had the same question. Slack had the kdei support for international font display for KDE, but no true type fonts. I've got some instructions on how to do this, but my notes for it is at home, on my Slack box. I'm at work now. When I get home, I'll post my instructions.
It had always puzzled me that Pat would include KDEI packages, but no true type fonts or X11 fonts.
SuSE and Fedora have them. (But that's no reason to use those distros)
By the way, do you need Traditional or Simplified Chinese fonts?
Unfortunately, I need to communicate others with chinese.
Thanks to google, I got WQY fonts to display Simplified chinese.
But in china mainland, access sf.net may forbidden by government.
I need to use Tor to access WQY's website.
WQY's website: http://wqy.sourceforge.net
The WenQuanYi Bitmap Song font (medium and bold weight) was
packaged into three equivalent formats: BDF (Bitmap Distribution
Format), PCF (Portable Compiled Format) and TTF(True-type).
All formats are supported by most modern X-window systems
(TTF format requires FreeType 2.x or later). You can choose
any of them based on your preference.
Debian (or its variants) disables pure bitmap fonts by default.
In order to use this font, you need to execute the following two
commands after installation:
sudo unlink 30-debconf-no-bitmaps.conf
== PCF/BDF Package Installation ==
You can find the installation package from
our sourceforge download site at
to /etc/X11/xorg.conf, under any line starting with "FontPath",
if your system does not have xorg.conf, you are probabily
running XFree86, then you should do the same thing for
If you see "unix/:7100" in your xorg.conf, your X window
is using "xfs". Typing the path to the font in /etc/X11/fs/config
under the line "catalogue =/usr/lib/X11/fonts/misc/,"
can do the same thing as you modify xorg.conf.
Now you have done with X Core font set up. Most recent
versions of Linux X programs support Xft/fontconfig, which
is a set of font search/selection rules. To make fontconfig
aware of the newly installed WenQuanYi bitmap font, you need to
insert the following line
to /etc/fonts/fonts.conf or ~/.fonts.conf, however, if you
installed the font into a subdirectory under /usr/share/fonts/,
this is not required.
we provided a fontconfig file specifically optimized for wqy bitmap fonts,
named "85-wqy-bitmapsong.conf". To activate the optimized settings, you
need to install this file as well. If /etc/fonts/conf/ directory exists
in your system, please directly move this file to that directory. If it does
not exist, you need to add the following line to the
end of /etc/fonts/fonts.conf (before </fontconfig>)
With KDE or GNOME font selection tools, you should be able to see
"WenQuanYi Bitmap Song" in the font name list.
6. installation as a normal user
If you do not have root privilege, for example, you are using
public machines, to install this font is also very simple.
If you are using KDE, find "Control Center" from the K-menu
(or type kcontrol from console), choose "System Administration"
and click on "Font Installer", right click on the middle panel,
choose "add font", locate the extracted fonts (bdf/pcf) files.
If you are using Gnome environment, double click on "Computer",
type "fonts:/" on the address bar, and type enter. Open another
file browser and select the bdf/pcf.gz font files, drag or
copy/paste to the fonts:/ folder.
If you do not have X-window started, you can also install the
font by extracting the BDF/PCF files to ~/.fonts/ directory
(if it does not exist, create one after making sure you have
You may also add the following line to ~/.fonts.conf to use
7. Turn on Chinese language support on your system
To correctly display Chinese, your system should
support Chinese language. You need to install the related
packages (for example, sudo apt-get install kde-i18n-Chinese*)
Then put the following line
into ~/.i18n and reboot your system (this file may not exist, in
that case, you need to create it first by "touch ~/.i18n".
you can also use other locales in the output of
"ls -d /usr/lib/locale/zh_*"). To enable command line Chinese
message, replace "LC_CTYPE" by "LC_ALL". If you want all menu displayed
with Chinese language, on KDE, goto "Control center", click on "Region and
Assistance", find "Country/Region and Language", choose "Chinese" from
"Add language"; if you are using Gnome, you need to select "Preference"
and "Language", then add "Chinese". Restart your X or system
if necessary to enable this setting. If you can not select "Chinese" for
either desktop environments, you need to install the corresponding
language package first.
== TTF Package Installation ==
To install TTF version of Wenquanyi bitmap font is a little bit tricky.
The font file is a special type of TTF, called SFNT (or sbit only) TTF.
This format is supported by FreeType 2.x or later. Unfortunately,
ttfmkdir and fc-cache can not recognize this format. So, we packaged
hand-writen configuration files, fonts.dir/fonts.scale/fonts.cache-1,
in the release.
The installation process is very similar to PCF/BDF version, you can
type ttmkfdir and fc-cache -fv, in that case, the hand-writen config
files will be overwriten. You can find a font.config.tar.gz in the
installation file, you need to decompress this file and restore
the correct fonts.* files. In the future, anytime you submit
fc-cache -fv, you need to repeat the above process.
== RPM Package Installation ==
if your system support RPM, to use RPM package is the simplest.
you simply type
sudo rpm -Uvh wqy-bitmapfont*noarch.rpm
then after restarting your X-window, you should be able
to use this font.
== Other issues ==
For some old applications, such as Emacs, XMMS, you may need to
do some extra configurations, you can search our FAQ page for