Questions tagged «line-spacing»

1
某些字体的行距过大
长期以来,我一直在使用DejaVu Sans Mono作为编程字体。我还没有找到更好的字体。 但是不久前,我发现了Mozilla的Fira,它对代码看起来非常不错。因此,我决定尝试使用Emacs。 不幸的是,当我在Emacs中使用它时,行间距变大,我可以看到的行数减少了大约10条。 我已经尝试过(setq line-spacing 0)和进行不同组合,例如(set-frame-font (font-spec :name "Fira Mono" :width 'normal :height 100)),但是无论我做什么,都会保留过多的行距。(line-spacing不幸的是,不可能在Emacs中使用负值,这似乎是显而易见的解决方案。) 不过,这似乎不是字体中的错误,因为当我在Kate中以相同大小使用Fira Mono时,行间距是我认为正常的值,并且显然与DejaVu Sans的Emacs行间距相同。 这是Emacs中的错误吗?有没有什么办法解决这一问题? 感谢您的任何建议。 左: Emacs Fira Mono 右: Emacs DejaVu Sans Mono 左: Emacs Fira Mono 右: Kate Fira Mono
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.