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

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!aplcen.apl.jhu.edu!wb3ffv!wmark
  3. From: wmark@wb3ffv.ampr.org (Mark Winsor)
  4. Subject: Font Sizes
  5. Message-ID: <1993Jan1.212131.18749@wb3ffv.ampr.org>
  6. Organization: Advanced Business Solutions, Inc.
  7. Date: Fri, 1 Jan 1993 21:21:31 GMT
  8. Lines: 17
  9.  
  10. Is there any way to retrieve the size in pixels of the width of a
  11. character for a given font? I'm writing a terminal/curses style
  12. emulation using the bulletin board widget and need to know the logical
  13. size of a column. 
  14.  
  15. Example: my font is 5 pixels wide per character, therefore I need to 
  16. make the BB widget 400 plus border size pixels to work with 80 logical
  17. columns.
  18.  
  19.  
  20. Thanks,
  21. -- 
  22.                                 __                
  23. email: wmark@wb3ffv.ampr.org   '  )--,--,          /       Mark S. Winsor 
  24.                                  /  /  / __.  __  /__,     Systems Analyst
  25. #include <stddisclaimer.h>      /  /  (_(_/|_/ (_/ \_      ProVAR, Inc.
  26.  
  27.