My GNU Emacs configuration is shared between multiple computers (including fixed installations for FreeBSD, Ubuntu, and Windows 7 and a portable installation with NT Emacs and Cygwin on a USB drive). I want to define a list of fonts that Emacs will try, in order, until an installed font is found (since I don't always have root access where I can install fonts). Usually, set-fontset-font
and friends would work; however, when Emacs is used as a daemon (emacs --daemon
) the normal fontsets aren't created until a frame is opened. Since this all needs to run as part of my .emacs
, that's too late.
(Just in case the fontset creation problem is something specific to FreeBSD's Emacs port or my configuration, this is the output of make showconfig.)