a Chinese font:
Ubuntu 9.10 final version of the default font I personally do not like, feel too thick, a bit vague. Translation of the text font to spring, the English not pretty, so she replaced Microsoft elegant black font Yahei Consolas Hybrid, the font contains Lucida Grande.ttf and Microsoft YaHei.ttf, former English-width font,
second hand designer handbags 破体画,盼望你能爱好, which is Chinese characters,
女性旅游安全注意事项, would not consider using this font set separately in English and Chinese fonts, you can do interface, page,
torch burch QQ provide personalized service launched Friends recovery,
so jeans, terminal font unified style.
also often want to share Office documents, are basically using the Times New Roman, only elegant black enough, so had to simsun under XP and other fonts a copy over. (D version of XP to use the font can not be considered a copyright)
configuration process:
1, copy the XP font:
sudo mkdir-p / usr / share / fonts / zh_CN / TrueType
sudo cp / media / win_c / WINDOWS / Fonts / simsun.ttc / usr / share / fonts / zh_CN / TrueType /
sudo cp / media / win_c / WINDOWS / Fonts / tahomabd.ttf / usr / share / fonts / zh_CN / TrueType /
sudo cp / media / win_c / WINDOWS / Fonts / tahoma.ttf / usr / share / fonts / zh_CN / TrueType /
sudo cp / media / win_c / WINDOWS / Fonts / verdanab.ttf / usr / share / fonts / zh_CN / TrueType /
sudo cp / media / win_c / WINDOWS / Fonts / verdanai.ttf / usr / share / fonts / zh_CN / TrueType /
sudo cp / media / win_c / WINDOWS / Fonts / verdana.ttf / usr / share / fonts / zh_CN / TrueType /
sudo cp / media / win_c / WINDOWS / Fonts / verdanaz.ttf / usr / share / fonts / zh_CN / TrueType /
2, Download Ya black font
http://blog.wsdd.org/zms/ubuntu/YaHei.Consolas.1.11b.zip
unzip, copy to / usr / share / fonts / zh_CN / TrueType direc
tory rename YaHei_Consolas.ttf:
sudo cp YaHei.Consolas.1.11b.ttf / usr / share / fonts / zh_CN / TrueType / YaHei_Consolas.ttf
3,
asics shoes cheap, generated a list of other fonts direc
tory command:
sudo chmod 644 / usr / share / fonts / zh_CN / TrueType / *
cd / usr / share / fonts / zh_CN / TrueType /
sudo mkfontscale
sudo mkfontdir
sudo fc-cache / usr / share / fonts / zh_CN / TrueType /
4, modify the configuration file
sudo gedit / etc/fonts/conf.d/69-language-selector-zh-cn.conf
find a line, add YaHei Consolas Hybrid There are three, must add
example:
YaHei Consolas Hybrid
Bitstream Vera Sans Mono
DejaVu Sans Mono
WenQuanYi Zen Hei
AR PL UMing CN
AR PL ShanHeiSun Uni
WenQuanYi Bitmap Song
AR PL UKai CN
AR PL ZenKai Uni
5, restart the x-window
normal, do not restart in x-window should be able to see the effect when, The software can look at the menu, web content, virtual terminal should have changed the font. Also open the Word document, Times New Roman can be displayed properly.
Second, configure gedit support Chinese
While vi is very convenient, but it is impossible not gedit, and the gedit text editor non-utf8 encoded file, the Chinese will be garbage, this need to get rid of, or need every times add parameters to be displayed properly.
press Alt + F2, run gconf-editor, in the configuration editor, and then click Open:
apps-> gedit-2-> preferences-> encodings
on the right side of the auto-detected double-click, click
PS: If you do not have permission to change the configuration of the above, then run gedit, add parameters can be displayed in Chinese. Command: gedit encoding = GBK filename
three little penguins input method (fcitx)
Little Penguin input (fcitx) re-return, and add the half of the people who Wubi half of the alphabet, it is then easy however. In Windows, Wubi with pole used to Linux, if not similar, really reduces the efficiency of document preparation, we are, little penguins realized, it was also done scim pole Wubi, but personally like small penguins , the configuration is as follows:
1, install fcitx
sudo apt-get install fcitx
2, configure the default input method for the fcitx
im-switch-s fcitx / / Note no need sudo
3 to restart the x-window
reboot, fcitx input method should start properly, the input bar will show the top of the screen,
asics kinsei 3, but the input box displayed in Chinese may be the
4, modify the configuration file
gedit ~ / .fcitx / config / / If gedit is not configured to support GB18030 encoding, opens the file will be modified as follows several garbled
:
display fonts (in) = YaHei Consolas Hybrid # If you do not have elegant black and can use the a =, # use. page, with personal preferences set
Next =.
[input]
using Pinyin = 0
smart pinyin pinyin name =
use of double fight = 0
Shuangpin Name = Smart Shuangpin
= default Shuangpin program using natural code
location = 0
Location Location Name =
use code table = 1
cues Library phrases = 1
other input methods =
5, modify the code table file
sudo gedit / usr / share / fcitx / data / tables.conf
Wubi alphabet has been completely sufficient because other input method is no need to appear, leaving only the following file, other configuration section can be removed or commented out.
[code table]
name = Wubi phonetic code table = wbpy.mb
FM = 2
phonetic alphabet = 1
key = z
automatically on the screen = -1
empty code automatically on the screen =- 1
automatic phrase = 1
exact match = 0
prompt code = 0
6,
mbt womens shoes, restart the x-window
normal, restart x-window,
birkenstock for sale, the little penguin display Chinese input method will be completely normal, and only