NetBSD-Users archive

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

Re: Writing to root-window



OK, I sorta figgured out how to use "convert8".

But I want black-text on a white background.
How do I get text on white ?

On Thu, May 22, 2025 at 11:32 PM Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
>
> HMMMMMM, need to try that.
> This will be a first for me...
>
> On Thu, May 22, 2025 at 6:43 PM Greg A. Woods <woods%planix.ca@localhost> wrote:
> >
> > At Thu, 22 May 2025 15:41:36 -0400, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
> > Subject: Writing to root-window
> > >
> > > I can splash a graphic to X root-window.
> > >
> > > How do I do this  with text ?
> > > Especially, how to stick  the text on top
> > > of a graphic that is on the root-window?
> >
> > I presume you want an application to do this, not C code, or?
> >
> > You can write the text onto (maybe a copy of) the image with something
> > like magick (from ImageMagick).
> >
> > Then update the root window with the new image (using xli, or xv, or
> > display (from ImageMagick)).
> >
> > --
> >                                         Greg A. Woods <gwoods%acm.org@localhost>
> >
> > Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
> > Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>


Home | Main Index | Thread Index | Old Index