File: INSTALL.txt

package info (click to toggle)
fonts-wqy-microhei 0.2.0-beta-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,576 kB
  • sloc: makefile: 10
file content (132 lines) | stat: -rw-r--r-- 4,032 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132

==========================================================

                 Wen Quan Yi Micro Hei

                  Installation Guide

----------------------------------------------------------

WenQuanYi Micro Hei font is a Chinese/Japanese/Korean outline font
with Hei-Ti style (a sans-serif style) Han glyphs. This font
is developed for general purpose use of Chinese for formating,
printing and on-screen display.

The installation process for this font on various systems will
be outlined below in this document.

----------------------------------------------------------

Table of Content:

I.   Installation for GNU/Linux, Unix or BSD-like systems
II.  Installation for Windows
III. Installation for Mac OS

----------------------------------------------------------

I.   Installation for GNU/Linux, Unix or BSD systems

The installation of this font on Linux/BSD type system is quite
straightforward if you are using the latest fontconfig/freetype2
libraries. Three types of packages were provided for this font:
Debian deb package, Redhat RPM package and generic tgz compression
format.

----------------------------------------------------------

1. Install Debian deb package

One-command installation is available for this font on Debian-based
systems. You can download the wqy-microhei*.deb package and cd to the
directory where the downloaded file locates, and type

    dpkg -i wqy-microhei*.deb

where * is the actual version number. This will copy the font to
appropriate folders and set the configurations automatically.

to verify, after the installation, type
    ls /usr/share/fonts/wenquanyi/wqy-microhei/
and see if this directory exists. You can also type
    fc-list | grep WenQuanYi
and see if you can see Micro Hei in the output

----------------------------------------------------------

2. Install Redhat RPM package

This is similar to the above case, you can simply type

    rpm -ivh wqy-microhei*.rpm

to install and configure this font to your system

----------------------------------------------------------

3. Manual Installation with tgz package

If you are running BSD-type or Unix systems, you can install this
font manually.


3.1 Installation for all users

First, extract the font files with

   tar zxvf wqy-microhei*.tar.gz

Then, change to root user, move the extracted folder, "wqy-microhei"
under /usr/share/fonts/wenquanyi/ (If this dir does not exist, use
mkdir -p /usr/share/fonts/wenquanyi/ to create it first.)

Then edit /etc/X11/xorg.conf or /etc/X11/XF86Config-4
and find the section with FontPath. Append

   FontPath /usr/share/fonts/wenquanyi/wqy-microhei

under any of the FontPath line, save this file.

Then, if your system has /etc/fonts/fonts.conf, edit
it and append

  <dir>/usr/share/fonts/wenquanyi/wqy-microhei/</dir>

before </fontconfig>


Restart X server and you should be able to use this font.

2. Installation for single user

If you do not have root access, you can also install this font
by copying wqy-microhei.ttf to ~/.fonts/  (If this folder
does not exist, create it first), then you can type
fc-cache ~/.fonts/ to activate this font.

Alternatively, if you are running KDE/GNOME, you can use
the font installer tool from the preference dialog and install
this font.


==========================================================
II.  Installation for Windows

To install this font on Windows is similar to any other true-type
fonts: extract the wqy-microhei.ttf file from the tar.gz package
and copy/paste it to c:\windows\fonts\ folder or c:\winnt\fonts\ folder.

If you have already installed an earlier version of this font, you
need to uninstall it before installing a new version.

We also provide a windows installer to automate the
installation process. It is a self-executable file and simply
click and run.

==========================================================
III.  Installation for Mac OS

Similar to Windows, download the tgz package and extract the ttf file,
double click on the ttf file on Finder, and click "Install".