Mac OS X的字体与默认的xterm(X11)字体一样可读且紧凑 [英] Font for mac osx that is as readable and compact as the default xterm (X11) font

查看:821
本文介绍了Mac OS X的字体与默认的xterm(X11)字体一样可读且紧凑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

xterms中使用的字体是非常紧凑但可读的。那是什么字体?最近我发现我可以在其他应用程序中使用DejaVu Sans Mono或Bitstream Vera Sans Mono。这些和xterms一样紧凑,但占用了更多空间。

我真的想从xterms切换到Terminal.app,返回。



(我也认为emacs,xcode或其他编辑器的字体会更好)。

<已添加:在Terminal.app中,您可以调整任何字体的字符和行间距。这是可能的在其他应用程序?



我打开任何其他字体是紧凑和可读的xterm字体。 Dina看起来非常好,但它似乎并没有为Mac工作。

解决方案

我已经成功地获得Emacs.App使用心爱混杂7x14字体。它看起来不错。

1)从 http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html



2)解压缩文件7x14.bdf
$ b $ 3)安装FontForge(fontforge.sourceforge.net) b
$ b
$ b

4)在fontforge中打开7x14.bdf 5)在fontforge中执行File->使用No Outline Font和Apple bitmap only sfont生成字体(dfont)



6)另存为/Library/Fonts/FixedMedium7x14.dfont

7) .emacs(setq default-font-apple -Fixed-medium-normal-normal- -14 - - - -m-0-iso10646-1) p>

<8> WIN


The font used in xterms is extremely compact yet readable. What font is that? The closest I've found that I can use in other other applications is DejaVu Sans Mono or Bitstream Vera Sans Mono. Those are as compact as xterms vertically but take up more space horizontally.

I'd really like to switch from xterms to Terminal.app and this is the one thing holding me back.

(I also think that font would be much better for emacs, xcode, or whatever editor.)

ADDED: In Terminal.app you can adjust the character and line spacing for any font. Is this possible in other applications?

I'm open to any other font that is as compact and readable as the xterm font. Dina looks really nice but it doesn't seem to work for Mac.

解决方案

I have successfully gotten Emacs.App to use the beloved misc-fixed 7x14 font. And it looks GOOD.

1) download ucs-fonts.tar.gz from http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html

2) extract the file 7x14.bdf

3) install FontForge (fontforge.sourceforge.net)

4) open 7x14.bdf in fontforge

5) in fontforge do File->Generate Fonts with "No Outline Font" and "Apple bitmap only sfont (dfont)"

6) save as /Library/Fonts/FixedMedium7x14.dfont

7) in your .emacs (setq default-font "-apple-Fixed-medium-normal-normal--14----m-0-iso10646-1")

8) WIN

这篇关于Mac OS X的字体与默认的xterm(X11)字体一样可读且紧凑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆