Groups | Search | Server Info | Login | Register
Groups > gnu.emacs.help > #61050
| From | steve g <sgonedes1977@gmail.com> |
|---|---|
| Newsgroups | gnu.emacs.help |
| Subject | Re: help with fonts |
| References | <101a44s$3vdfk$1@dont-email.me> |
| Date | 2026-03-29 20:17 -0400 |
| Message-ID | <87341itblp.fsf@gmail.com> (permalink) |
François 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
Back to gnu.emacs.help | Previous | Next — Previous in thread | Find similar
help with fonts François Patte <francois.patte@mi.parisdescartes.fr> - 2025-05-29 19:05 +0200
Re: help with fonts Ethan Carter <ec1828@somewhere.edu> - 2025-06-05 19:45 -0300
Re: help with fonts Rust Buckett <rsstinnett@pm.me> - 2025-07-05 19:14 -0400
Re: help with fonts steve g <sgonedes1977@gmail.com> - 2026-03-29 20:17 -0400
csiph-web