![](/img/trans.png)
[英]Flymake pdflatex ubuntu 12.04 emacs 23.3.1 Configuration Error
[英]Emacs 23.3.1 fixedsys font issue
我已經下載了Fixedsys.TTF字體。
我已將字體移動到 /usr/share/fonts/truetype 目錄中。
我在我的 .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"))))
我在 Emacs 中做了一些工作並用Ctrl + c Ctrl + x關閉它。
然后我重新打開 Emacs,它不會產生相同的字體。 相反,如果我按照第 2 步操作,我再次發現 Emacs 已默認為 Monospace Regular 10。盡管實際顯示的字體甚至不是 Monospace Regular 10。
為了糾正這種情況,我需要再次手動執行第 2 步,然后一切正常,直到我退出並再次啟動。
我的問題是是否有一個簡單的解決方法? 或者,當我執行第 2 步時,在后台調用了哪些 lisp 函數,以便我可以破解 .emacs 文件以強制加載 fixedsys。
PS:我確實嘗試了字體Fixedsys Excelsior ,這是完美的,但事實上,在 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 normal :height 117 :width normal :foundry "unknown"
:family "Fixedsys Excelsior 3.01"))))
同樣,字體是從上面的 Fixedsys Excelsior 鏈接下載的,然后 TTF 移動到 /usr/share/fonts/truetype。
有人可以幫助解決這些問題嗎?
我已經找到了解決這個問題的方法:
(set-face-attribute 'default nil :font "Fixedsys Excelsior 3.01-L-12")
到我的 .emacs 文件中只是想讓您知道,您指向 Fixedsys.TTF 字體的鏈接指向了一個憑據可疑的視頻網站。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.