Ubuntu 下 atom显示中文出现乱码,安装下字体,在改下style文件就好了
@mono-font-family: "Ubuntu Mono", "微软雅黑"; /* 等宽字体 */
@font-family: "Ubuntu", "Microsoft YaHei"; /* 非等宽字体 */
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 /*,.editor*/ {
font-family: @mono-font-family;
}
atom-text-editor.editor {
font-family: @mono-font-family;
}
.tree-view- {
font-size: 14px;
}