Addendum: the problem is not specific to theming. Setting the default face
to "Droid Sans Mono Slashed" in .emacs doesn't work either.
Le 22 septembre 2018, à 19:29,
[email protected] a écrit :
However, changing the default face by hand in Customize works, so I guess
the "Droid Sans Mono Slashed" font is not the culprit.
I'm far from being an Emacs expert. Maybe a loading order issue? The
requested font is a TrueType one, placed in ~/.fonts.
Thank you for helping me. Now this is getting strange:
If I do only this:
# update fonts.dir,fonts.scale
mkfontscale ~/.fonts
mkfontdir ~/.fonts
Then run emacs, the theme's font setting is applied. I can stop and start
emacs several times, it works.
*But* at the next login, this will not work anymore! I can make it work
again by... removing fonts.dir and fonts.scale! This somehow "awakens"
some part of X, because the display of other apps (Zim, Xfce Terminal)
which use a different font (DejaVu) is altered (somewhat shrinked) when I remove these files.
These commands:
#change the font path
xset +fp ~/.fonts
xset fp rehash
don't help in any case.
This:
emacs -fn fontname
always works, even without fonts.* files or invoking xset. So I can
workaround the problem by manually setting the theme's font, but this
doesn't solve or explain the issue...
--
LL
Ἕν οἶδα ὅτι οὐδὲν οἶδα (Σωκράτης)
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)