bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5266: Per-host settings


From: Jan Djärv
Subject: bug#5266: Per-host settings
Date: Sat, 09 Jan 2010 13:08:03 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Reuben Thomas skrev:
2010/1/5 Jan Djärv <jan.h.d@swipnet.se>:
That is not the right syntax, And the family name is probably wrong also (no
space in DejaVu).  On my machine:

Thanks; bizarrely, the family name, which as you say was wrong, was
copied from a working setting for urxvt; I guess it must somehow make
allowances for spaces; what you suggested:

emacs.font: DejaVu Sans Mono:pixelsize=14

seems to work fine.


There actually is a Gnome format and a fontconfig format for font names. When you say :pixelsize=14, Emacs assumes fontconfig. Maybe Deja Vu is ok in the Gnome format.

But you should really use just Monospace and have fonts.config map it for
you to DejaVu (which it probably does).

I don't have a fonts.config file. To what does it belong? My Ubuntu
system seems to use fontconfig, and "monospace" seems to be used as
DejaVu Sans Mono's default family, though whether that means the
default monospace font is DejaVu Sans Mono, I don't know; certainly
under GNOME I have configured DejaVu Sans Mono as the default
monospaced font in its font preferences.

/etc/fonts/fonts.conf and also files in /etc/fonts/conf.d.  On my system,
/etc/fonts/conf.d/60-latin.conf maps monospace to DejaVu Sans Mono.


        Jan D.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]