home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!ira.uka.de!sun1.ruf.uni-freiburg.de!news.belwue.de!news.uni-stuttgart.de!itwds1!skok
- From: skok@itwds1.energietechnik.uni-stuttgart.de (Holger Skok)
- Subject: X11 screen fonts, where are they hidden?
- Message-ID: <1992Aug26.142718.28529@news.uni-stuttgart.de>
- Keywords: programming fonts
- Sender: news@news.uni-stuttgart.de (USENET News System)
- Organization: Inst. f. Thermodynamik u. Waermetechnik (ITW), U. of Stuttgart, FRG
- Date: Wed, 26 Aug 1992 14:27:18 GMT
- Lines: 29
-
-
- Hi UN*X gurus out there,
-
- I'm trying to run a little program I got from the net. It came as
- C-source and compiled fine on a DEC-Station 2100 under ULTRIX 4.1 (yeah,
- I know that's not the latest version).
- On running it, however, it crashed complaining that it couldn't find a
- font. I looked in the source and found the following lines of code:
-
- font = XLoadFont(disp, "10x20\0"); /* If you don't have this
- font, try replacing it with 9x15\0 */
- XSetFont(disp, gc, font);
-
- Consequently, I rooted around in the file system, looking for a font of
- that name 10x20 and couldn't find it. I admit being a total novice to
- the programming of X-apps and would never think of starting to code my
- own. I would like to see that little program run, however.
-
- Is there a quick fix? Can I use one of the fonts I found under
- /usr/lib/fonts/decwin/75dpi ?
-
- Thanks in advance for any help you might be willing and able to supply,
- oh, and by the way: please reply by e-mail.
-
- --
- *************************************************
- * Those stupid, horse-brained masses! *
- * OPUS on honker surgery *
- *******************************************HSK***
-