home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!think.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!rogerr
- From: rogerr@netcom.com (roger reynolds)
- Subject: Re: Xm100TH_FONT_UNITS as XmNunitType problems, SOLUTION
- Message-ID: <1993Jan3.201606.5551@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1992Dec31.215525.4798@netcom.com>
- Date: Sun, 3 Jan 1993 20:16:06 GMT
- Lines: 19
-
-
- The simple, (yet incredibly well hidded) answer to this problem
- was supplied to me by daniel@osf.org, and I'll post it here cuz
- I got many responses from others who also could not make it work:
-
- >FONT_UNITS don't use the XmNfontList but the XmNfont resource,
- >check that first.
-
- That was it. set the "font" resource on the topLevelShell and it
- worked instantly as expected.
-
- >Also, in 1.1, the unit type converter had to be installed by
- >the application explicitly (that has changed that in 1.2), using
- >XtAddConverter and a provided converter (XmCvtStringToUnitType).
-
- I had figured that out, but it is true....
-
- Thanks Daniel,
- rogerr@netcom.com
-