Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use bdf fonts with Emacs?

bdf Emacs fonts
0
Posted

How can I use bdf fonts with Emacs?

0

To use bdf fonts with Emacs, you need to tell Emacs where the fonts are located, create fontsets for them, and then use them. We’ll use the 16 dot international fonts from ftp.gnu.org/intlfonts as an example put together by Jason Rumney Download the 16dots.tar.gz file and unpack it; I’ll assume that they are in “c:\intlfonts”. Then set w32-bdf-filename-alist to the list of fonts returned by using w32-find-bdf-fonts to enumerate all of the font files. It is a good idea to set the variable bdf-directory-list at the same time so ps-print knows where to find the fonts: (setq bdf-directory-list ‘(“c:/intlfonts/Asian” “c:/intlfonts/Chinese” “c:/intlfonts/Chinese-X” “c:/intlfonts/Ethiopic” “c:/intlfonts/European” “c:/intlfonts/Japanese” “c:/intlfonts/Japanese-X” “c:/intlfonts/Korean-X” “c:/intlfonts/Misc/”)) (setq w32-bdf-filename-alist (w32-find-bdf-fonts bdf-directory-list)) Then create fontsets for the BDF fonts: (create-fontset-from-fontset-spec “-*-fixed-medium-r-normal-

0

To use bdf fonts with Emacs, you need to tell Emacs where the fonts are located, create fontsets for them, and then use them. We’ll use the 16 dot international fonts from ftp://ftp.gnu.org/gnu/intlfonts as an example put together by Jason Rumney. Download the 16dots.tar.gz file and unpack it; I’ll assume that they are in “c:\intlfonts”. Then set w32-bdf-filename-alist to the list of fonts returned by using w32-find-bdf-fonts to enumerate all of the font files.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123