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

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

问题描述

xterms 中使用的字体非常紧凑但可读.那是什么字体?我发现可以在其他应用程序中使用的最接近的是 DejaVu Sans Mono 或 Bitstream Vera Sans Mono.它们在垂直方向上与 xterms 一样紧凑,但在水平方向上占用更多空间.

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.

我真的很想从 xterms 切换到 Terminal.app,这是阻碍我前进的一件事.

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

(我也认为字体对于 emacs、xcode 或任何编辑器会更好.)

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

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

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

我对任何其他与 xterm 字体一样紧凑和可读的字体持开放态度.Dina 看起来很不错,但它似乎不适用于 Mac.

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.

推荐答案

我已经成功地让 Emacs.App 使用了心爱的 misc-fixed 7x14 字体.而且看起来不错.

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

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

2) 解压文件 7x14.bdf

2) extract the file 7x14.bdf

3) 安装 FontForge (fontforge.sourceforge.net)

3) install FontForge (fontforge.sourceforge.net)

4) 在 fontforge 中打开 7x14.bdf

4) open 7x14.bdf in fontforge

5) 在 fontforge 中执行 File->Generate Fonts with "No Outline Font" 和 "Apple bitmap only sfont (dfont)"

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

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

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

7) 在你的 .emacs (setq default-font "-apple-Fixed-medium-normal-normal--14----m-0-iso10646-1")

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

8) 赢

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

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