Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!elroy!mahendo!steve From: steve@mahendo.Jpl.Nasa.Gov (3171) Newsgroups: comp.sources.bugs Subject: Re: Monthtool from comp.sources.unix Message-ID: <117@mahendo.Jpl.Nasa.Gov> Date: Thu, 12-Nov-87 15:25:54 EST Article-I.D.: mahendo.117 Posted: Thu Nov 12 15:25:54 1987 Date-Received: Sat, 14-Nov-87 20:53:26 EST References: <5419@jhunix.UUCP> <743@rocky.STANFORD.EDU> <2967@vdsvax.steinmetz.UUCP> Organization: Jet Propulsion Labs, Pasadena, CA Lines: 26 Keywords: monthtool, Sun Summary: See Sun 3.4 Release Notes for explanation The icon for the button in the Reminder types: window comes from the same font that is supposed to be used in the bottom window. Since these are coming out correctly, the program must be finding the font file OK. The major difference between these two windows is that the first is a Panel while the second is a Text window. In the Release notes for 3.4, on page 108, it says: "You cannot create a text subwindow with a given font; you have to create the text subwindow, then use window_set() to set the font." and this is where the problem arises. If you modify the source to do the window_set() suggested by Sun the problem goes away. Diffs follow: *** monthtool.c.old Thu Nov 12 12:12:13 1987 --- monthtool.c Thu Nov 12 12:12:19 1987 *************** *** 380,385 **** --- 380,386 ---- WIN_FONT, notesFont, TEXTSW_IGNORE_LIMIT, TEXTSW_INFINITY, 0); + window_set( notesDsply, WIN_FONT, notesFont, 0); /* Set up panels */