ubuntu & sublime字体设置

ubuntu

# yahei  http://uigroupcode.googlecode.com/files/YaHei.Consolas.1.12.zip

sudo mkdir /usr/share/fonts/truetype/ms
sudo cp YaHei.Consolas.1.12.ttf /usr/share/fonts/truetype/ms/msyahei.ttf

cd /usr/share/fonts/truetype/ms
sudo mkfontscale
sudo mkfontdir
sudo fc-cache /usr/share/fonts/truetype/ms

sudo vim /etc/fonts/conf.d/69-language-selector-zh-cn.conf 

<string>YaHei Consolas Hybrid</string>

sublime

preferences->Settings-User

{
	"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
	"font_face": "YaHei Consolas Hybrid",
	"font_size": 10.5,
	"ignored_packages":
	[
		"Vintage"
	],
	"translate_tabs_to_spaces": true
}

你可能感兴趣的:(sublime)