将 .bdf/.pcf 字体转换为 .psf(u) 以用作控制台字体?

bol*_*van 6 arch-linux fonts conversion console

我正在使用 Arch Linux。是否可以将 BDF 或 PCF 字体转换为 PSF 字体,以便在 rc.conf 中的控制台/CONSOLEFONT 中使用?我没有找到任何可以做到的东西,除了 bdf2psf ,我得到了源代码但找不到如何使用它,手册页很难理解。在此先感谢您的帮助。

jas*_*yan 3

Arch Linux 板上有一个操作方法。

基本命令是:

./bdf2psf --fb yourbdffont.bdf \
  /whateverpath/current/usr/share/bdf2psf/standard.equivalents \
  /whateverpath/usr/share/bdf2psf/required.set+/whateverpath/usr/share/bdf2psf/useful.set \
  512 /path/to/nameofpsf-uni-11.psf
Run Code Online (Sandbox Code Playgroud)