Re: font policy changes
Julien Cristau <firstname.lastname@example.org> writes:
> On Sun, Jul 13, 2008 at 22:13:27 -0700, Russ Allbery wrote:
>> email@example.com writes:
>>> 3) Even if "mkfontdir" were invoked directly or if it's okay to give
>>> "update-fonts-dir" an absolute path (in which case its man page needs to
>>> be updated and the warning removed), isn't it also advisable to run
>>> "xset fp rehash" in postinst and postrm scripts? That program is the
>>> standard mechanism for updating installed fonts on recent versions of
>>> X11, including in Debian and other GNU/Linux distributions.
>> Hm. That's an interesting thought, although it's going to fail if no X
>> server is currently running, correct?
> It will always fail, because the user running the script (root) won't
> normally have access to the X server.
See, I thought that too, and then I tried it and it seemed to work fine.
Maybe my test was wrong?
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>