Bug#673170: xfonts-100dpi: fonts not available until X restarted
On Mon, May 21, 2012 at 16:06:44 -0500, Jonathan Nieder wrote:
> Hi Julien,
>
> Julien Cristau wrote:
> > On Wed, May 16, 2012 at 10:59:01 -0500, Jonathan Nieder wrote:
>
> >> Trying to address <http://bugs.debian.org/563250> (xvile appearance
> >> wrong due to missing font), I installed xfonts-100dpi. Alas:
> >>
> >> $ xmessage -fn lucidasans-10 It was the best of times
> >> Warning: Cannot convert string "lucidasans-10" to type FontStruct
> >> $ xlsfonts | grep lucida
> >> $
> >>
> >> Restarting X makes the font show up.
> [...]
> > Not really. Run xset fp rehash after installing fonts, there's no way
> > for update-fonts-dir to know which (possibly remote) X server may want
> > to use the new fonts.
>
> Perhaps this could be documented somewhere, or it could be
> automatically done by the calling maintainer script for the local X
> server? The problem is still present: after installing X fonts on a
> pretty ordinary setup, they are not available for use. Most new users
> are not going to know about "xset fp rehash".
>
They're also not going to be using xmessage, and client-side fonts are
immediately picked up by fontconfig/xft/... on install. So I think this
is a non-issue.
Cheers,
Julien
Reply to: