Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: convex!texsun!edsr!houston!dek@uunet.uu.net (Daryl Krauter) Newsgroups: comp.sys.sun Subject: Re: v8n22 - fonts in TEXTSW Keywords: Windows Message-ID: <3860@kalliope.rice.edu> Date: 14 Jun 89 13:23:26 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 33, message 5 of 12 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