1.0 Ubuntu下Atom中文显示问题
获取当前系统的中文字体
fc-list :lang=zh
edit -> Open Your Config,删除原有内容,输入如下内容,保存:
"*":
welcome:
showOnStartup: false
core:
disabledPackages: [
"activate-power-mode"
]
editor:
invisibles: {}
fontFamily: "Ubuntu Mono, DejaVu Sans Mono,WenQuanYi Micro Hei,WenQuanYi Micro Hei Mono"
fontSize: 15
edit ->Open Your Stylesheet,删除原有内容,输入如下内容,保存:
@mono-font-family: "Ubuntu Mono", "WenQuanYi Micro Hei","WenQuanYi Micro Hei Mono";
@font-family: "Ubuntu", "WenQuanYi Micro Hei","WenQuanYi Micro Hei Mono";
html, body, ol, ul, li, h1, h2, h3, h4, h5, h6, div, p, span, pre, section, input, textarea,
table, .atom-panel, .status-bar, .tree-view, .title, .current-path, .tooltip {
font-family: @font-family;
}
.autocomplete-plus span, code, .-tree-view-, .symbols-view {
font-family: @mono-font-family;
}
atom-text-editor.editor {
font-family: @mono-font-family;
}
.-tree-view- {
font-size: 14px;
}