Groups | Search | Server Info | Login | Register
Groups > gnu.emacs.help > #61038
| From | Rust Buckett <rsstinnett@pm.me> |
|---|---|
| Newsgroups | gnu.emacs.help |
| Subject | Re: help with fonts |
| Date | 2025-07-05 19:14 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <87ldp2w7qd.fsf@fakedomain.nope> (permalink) |
| References | <101a44s$3vdfk$1@dont-email.me> <87bjr1g63y.fsf@somewhere.edu> |
Ethan Carter <ec1828@somewhere.edu> writes: > 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. >> >> If I test the installed fonts with fc-list, I get this answer: >> >> fc-list |grep Grantha >> /usr/share/fonts/google-noto/NotoSerifGrantha-Regular.ttf: Noto Serif >> Grantha:style=Regular >> >> So the font is installed.... Why this complaint? And how can I debug? >> >> I add that this was perfectly working in my previous linux install, >> did I miss something in my new installation? > > My first guess is that somehow you're not getting the font name right. > If you tell > > xlsfonts | grep rantha > > to your shell, what do you get? > > By the way, I set my GNU EMACS font using an X resource: > > $ cat ~/.Xresources | grep emacs.font > emacs.font: -misc-fira code medium-medium-r-normal--17-0-0-0-m-0-iso8859-1 > $ > > I feel using an X resource sets the font quicker avoiding you noticing a > resize of the window. (If I recall correctly. It's been weeks since I > started the GNU EMACS.) > > Good luck! This is all I have in my config for the font: (set-frame-font "DejaVu Sans Mono 11" nil t) I believe it is for this font (from fc-list): /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book -- this is my clever sig.
Back to gnu.emacs.help | Previous | Next — Previous in thread | Next 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