On Wed, Dec 13, 2000 at 05:25:23PM +0100, dam's wrote:
> [EMAIL PROTECTED] (David Odin) writes:
>
> > On Wed, Dec 13, 2000 at 01:51:06PM +0100, dam's wrote:
> > > [EMAIL PROTECTED] (Peter Ruskin) writes:
> > >
> > > > Cooker Expert Upgrade Development (almost full) - using hd.img.
> > > > VERSION: Linux-Mandrake Cooker-i586 20001209 4:01
> > > >
> > > > [17:22 root@penguin:/home/peter]# drakfont
> > > >
> > > > Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap
> > > >
> > >
> > > OK, until now, there is no errors, just a (normal) warning.
> > >
> > I disagree. This is a real warning that shouldn't happen. When creating a
> > GdkPixmap, you have to provide a valid window or a valid colormap. If it
> > happens you cannot have a valid window, you can always use
> > gdk_colormap_get_system() as a valid colormap.
>
> Thank you for your help, david. You have access to the cvs, I'll be pleased if
> you could correct it. What I meant is that it's not a disfunction of the software.
>
Done.
> >
> > > > ... then I deleted a couple of truetype fonts and ...
> > > >
> > > > Gtk-ERROR **: Unable to load default font.
> > > > aborting...
> > > >
> > > > I now have to [Ctrl-Alt-F2], log on as root and do:
> > > > /etc/init.d/xfs stop
> > > > /etc/init.d/xfs start
> > > > before anything else gets messed up - then it's OK. Shouldn't DrakFont do
> > > > this itself?
> > >
> > > it does it! You did delete the couple of fonts using drakfont didn't you?
> > >
> > Can't you do this also when starting DrakFont? At least if the font list has
> > changed since latest DrakFont invocation ?
>
> Why not, what do you suggest to know that the list changed?
>
Maybe looking for the most recent date in the fonts directories, and
comparing with the date of the latest drakfont invocation. Of course this
would imply to log each invocation.
This is only a suggestion, though.
--
[EMAIL PROTECTED]