home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8301 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.1 KB  |  30 lines

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