Re: XForms: fonts styles

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 25 Aug 98 06:15:16 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I would like to write some text in a Pixmap with a smaller font than the
> default one...
> But I only found instruction about changing label's fonts.
>
> Is it possible to do this using Xforms library ?

I'm not sure what you mean by writing text in a Pixmap, precisely, but
you might be able to use fl_drw_text().

Possibly you could do something like

fl_winset( pixmap );
fl_drw_text( ... );

You'll need to do the fl_winset() to point XForms at the Pixmap as a
Drawable. I'm not sure if the compiler will complain or not.

This probably comes under the broad heading of Dirty Tricks...

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/