home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 15942 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: mahan@TGV.COM (Patrick L. Mahan)
  4. Subject: RE: FONT Handling -- HOW?
  5. Message-ID: <920831095957.254000b0@TGV.COM>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Organization: The Internet
  8. Date: Mon, 31 Aug 1992 16:59:57 GMT
  9. Lines: 25
  10.  
  11. #
  12. #I'm a complete newby to X and just trying to get a c-source to run. It
  13. #compiles alright, finds all the right libraries, but crashes when
  14. #attempting to load a font. Source lines:
  15. #
  16. #    font = XLoadFont(disp, "10x20\0");    /* If you don't have this
  17. #        font, try replacing it with 9x15\0    */
  18. #
  19. #Upon reaching this call the program exits and tells me that the font
  20. #cannot be found. 
  21. #The fonts reside in an unusual directory, namely
  22. #/usr3/X11R5/lib/X11/fonts/misc, I'm running ULTRIX4.1 on a DecStation
  23. #2100, and use the twm windows manager. 
  24. #
  25.  
  26. What does the application "xlsfonts" show?  If it doesn't list 10x20 as one
  27. of the fonts then it is not there and you must try some other font.
  28.  
  29. Patrick L. Mahan
  30.  
  31. --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
  32.  
  33. Waking a person unnecessarily should not be considered  - Lazarus Long
  34. a capital crime.  For a first offense, that is            From the Notebooks of
  35.                               Lazarus Long
  36.