gpt4 book ai didi

emacs - 如何在 Emacs for Windows 中使用 BDF 字体

转载 作者:行者123 更新时间:2023-12-01 07:37:03 26 4
gpt4 key购买 nike

当尝试使用来自 GNU Emacs 常见问题解答(http://www.gnu.org/software/emacs/windows/Fonts-and-text-translation.html 第 5.4 节)的 Lisp 片段的修改版本来加载 BDF 字体时:

(setq bdf-directory-list '("~/fonts"))
(setq w32-bdf-filename-alist (w32-find-bdf-fonts bdf-directory-list))

我收到一个 (void-function w32-find-bdf-fonts) 错误。我已经尝试使用 Emacs for Windows Modified version 23.3-modified-3 ( http://vgoulet.act.ulaval.ca/en/emacs/windows ) 和 EmacsPortable ( http://vgoulet.act.ulaval.ca/en/emacs/windows )。我无法在文档中找到具有该名称或类似名称的任何函数,并且为 w32-find-bdf-fonts 搜索 Emacs CVS 树只找到 FAQ 条目,所以我猜它是常见问题是错误的。正确的代码是什么?

最佳答案

Windows 上的 Emacs 23 似乎不再支持 BDF 字体。请参阅 etc/NEWS 文件(您可以使用 C-h n 从 emacs 访问该文件):

** BDF fonts no longer supported on MS-Windows. The font backend was completely rewritten for this release. The focus on Windows has been getting acceptable performance and full unicode support, including complex script shaping for native Windows fonts. A rewrite of the BDF font support has not happened due to lack of time and developers. If demand still exists for such a backend even with the improved language support for native Windows fonts, future development in this direction will most likely be based on the freetype library, giving access to a wider range of font formats.

关于emacs - 如何在 Emacs for Windows 中使用 BDF 字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8109285/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com