From Newsgroup: gnu.emacs.help
Fran|oois Patte <
francois.patte@mi.parisdescartes.fr> writes:
Bonjour,
I have this line in my init file .emacs :
(set-face-font 'default "fontset-default")
(set-fontset-font "fontset-default" 'grantha "Noto Serif Grantha")
And emacs complains that it cannot find this font.
try M-x list-colors-display
I found the following in my dot-emacs file.
;; Fonts for win32
;; (setq w32-enable-synthesized-fonts t)
;; (set-face-font 'italic "-*-Courier New-normal-i-*-*-11-*-*-*-c-*-iso8859-1") ;; (set-face-font 'bold-italic "-*-Courier New-bold-i-*-*-11-*-*-*-c-*-iso8859-1")
;;(set-face-font 'default "-outline-Andale Mono-normal-normal-normal-mono-*-*-*-*-c-*-iso8859-1")
;; Display Windows Fonts
(defun si:win32-dump-fonts (&optional pattern)
"Insert available font names into current buffer.
When <pattern> is supplied only insert fonts that match <pattern>."
(interactive)
(let ((fonts (sort (x-list-fonts (or pattern "*")) 'string< ))
num)
(setq num (length fonts))
(save-excursion
(while fonts
(newline )
(insert (car fonts))
(setq fonts (cdr fonts)))
(newline))
(message "Inserted %d fonts." num)))
hope this helps
--- Synchronet 3.21f-Linux NewsLink 1.2