Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!pds From: pds@quintus.uucp (Peter Schachte) Newsgroups: comp.windows.x Subject: Re: special server mechanism (deemed unnecessary) Message-ID: <847@quintus.UUCP> Date: 12 Dec 88 21:37:51 GMT References: <8812091659.AA02967@devnull.sun.com> <976@bacchus.dec.com> Sender: news@quintus.UUCP Reply-To: pds@quintus.UUCP (Peter Schachte) Organization: Quintus Computer Systems, Inc. Lines: 17 In article <976@bacchus.dec.com> asente@decwrl.dec.com (Paul Asente) writes: ... >This could be provided by either expanding the protocol to allow a >GContext anyplace it allows a Font (as it does in XQueryFont), or having >some special resource ID to refer to the default font, as someone else >suggested. How about having XLoadFont(display, "") return The Default Font? It's at least somewhat consistent with XOpenDisplay("") returning the default display. I hope we could be guaranteed a few things about this font. It would sure be nice if there were a way to write portable code that displays text without having to scan the list of available fonts. -Peter Schachte pds@quintus.uucp ..!sun!quintus!pds