Emacs 23.3.1修复系统字体问题

Emacs 23.3.1修复系统字体问题,emacs,fonts,truetype,emacs23,Emacs,Fonts,Truetype,Emacs23,我已经下载了字体 我已将字体移动到/usr/share/fonts/truetype目录中 我已打开Emacs并导航到选项>设置默认字体。。。选择 固定SYSTTF和规定的单间距和尺寸11。然后我使用了选项>保存选项 我在.emacs文件中注意到: '(default ((t (:stipple nil :background "#232323" :foreground "#e6e1de" :inverse-video nil :box nil :strike-through nil :ov

我已经下载了字体

  • 我已将字体移动到/usr/share/fonts/truetype目录中

  • 我已打开Emacs并导航到选项>设置默认字体。。。选择 固定SYSTTF和规定的单间距和尺寸11。然后我使用了选项>保存选项
  • 我在.emacs文件中注意到:

    '(default ((t (:stipple nil :background "#232323"
     :foreground "#e6e1de" :inverse-video nil :box nil
     :strike-through nil :overline nil :underline nil
     :slant normal :weight semi-bold :height 110
     :width normal :foundry "unknown" :family "FixedsysTTF"))))
    
    '(default ((t (:stipple nil :background "#232323"
    :foreground "#e6e1de" :inverse-video nil :box nil
    :strike-through nil :overline nil :underline nil :slant normal
    :weight normal :height 117 :width normal :foundry "unknown"
    :family "Fixedsys Excelsior 3.01"))))
    
  • 我在Emacs中做了一些工作,并用Ctrl+c Ctrl+x将其关闭

  • 然后我重新打开Emacs,它不会产生相同的字体。相反,如果我遵循步骤2。我再次发现Emacs默认为单空间正则10。虽然实际显示的字体甚至不是单空格规则字体10

  • 为了纠正这种情况,我需要手动执行步骤2。在我退出并再次启动之前,一切都很好

  • 我的问题是是否有一个简单的修复方法?或者,当我执行步骤2时,在后台调用了哪些lisp函数,这样我就可以直接破解.emacs文件来强制加载fixedsys

    PS:我确实尝试过这种字体,它是完美的,但事实上,在Emacs的上述版本中(这并不是说这种情况只发生在上述版本中,但我仅限于23.3.1),“A”字符会导致前面的字符与“A”重叠。但是,此版本的Fixedsys不会导致Emacs出现问题,它会在退出和重新打开时记住字体。因此,它要么是:纠正重叠“A”的情况,要么让Fixedsys的另一个版本(步骤1中链接的版本)工作。我确实更喜欢Fixedsys Excelsior,但我不能接受重叠的“A”。仅供参考,当我使用Fixedsys Excelsior时,我在.emacs文件中得到以下信息:

    '(default ((t (:stipple nil :background "#232323"
     :foreground "#e6e1de" :inverse-video nil :box nil
     :strike-through nil :overline nil :underline nil
     :slant normal :weight semi-bold :height 110
     :width normal :foundry "unknown" :family "FixedsysTTF"))))
    
    '(default ((t (:stipple nil :background "#232323"
    :foreground "#e6e1de" :inverse-video nil :box nil
    :strike-through nil :overline nil :underline nil :slant normal
    :weight normal :height 117 :width normal :foundry "unknown"
    :family "Fixedsys Excelsior 3.01"))))
    
    同样,从上面的Fixedsys Excelsior链接下载字体,然后将TTF移到/usr/share/fonts/truetype


    有人能帮我解决这两个问题吗?

    我找到了解决这个问题的方法:

  • 移动到/usr/share/font/truetype
  • 注入:
    (将面属性“default nil:font”Fixedsys Excelsior 3.01-L-12)设置到my.emacs文件中

  • 只是想让您知道,您指向Fixedsys.TTF字体的链接指向一个具有可疑凭据的视频网站

    • 克里斯