>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: qryfnt.m,v 1.8 92/06/11 17:08:52 rws Exp $
>># 
>>#
>>TITLE XQueryFont CH06
>>ASSERTION A XQueryFont-1
When the font_ID argument is a valid Font resource, then a
call to XQueryFont returns a pointer to an XFontStruct
structure which contains information on the font with font
ID font_ID.
>>STRATEGY
For each xtest font
  Load font with XLoadFont.
  Set font_ID to font
  Call XQueryFont.
  Verify returned XFontStruct with known good one.
>>ASSERTION A XQueryFont-2
When the font_ID argument specifies a GContext, then a
call to XQueryFont returns a pointer to an XFontStruct
structure which contains information on the font in the
corresponding GC's font field.
>>STRATEGY
Load font with 
>>ASSERTION A XQueryFont-3
When the font_ID argument does not name a valid GContext or
Font resource, then a call to XQueryFont returns NULL.
>>STRATEGY
Obtain a bad font ID.
Call XQueryFont.
Verify that null is returned.
