dek@uunet.uu.net (Daryl Krauter) (06/14/89)
There is a bug in setting the WIN_FONT attribute at create time for a
TEXTSW, but after you create it - you can specify the WIN_FONT for a
TEXTSW during a window_set call as follows:
textsw = window_create(frame, TEXTSW,
WIN_ROWS, ATTR_ROW(20),
WIN_COLUMNS, ATTR_COL(75),
0);
window_set(textsw,
WIN_FONT, pf_open("/usr/lib/fonts/fixedwidthfonts/cour.b.12"),
0);
Sun knows this as a bug.
Daryl Krauter
Electronic Data Systems (EDS)
(214) 490-2737