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

Re: font policy changes

Julien Cristau <jcristau@debian.org> writes:
> On Sun, Jul 13, 2008 at 22:13:27 -0700, Russ Allbery wrote:
>> unifoundry@unifoundry.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 (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: