🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37490

Re: XLFD matching

#37490
From: Daniel Dardailler
Date: Wed, 28 Feb 1990 08:33
16 lines
1308 bytes
From article <2845074091-1038891@RIGI>, by Kimbrough@dsg.csc.ti.COM (Kerry Kimbrough):
> It seems that the spec doesn't really get down and define how OpenFont is supposed
> to match font names containing wildcards. Are we to assume that ? and * are
> to be treated as they are in Unix file name matching?

OpenFont is not supposed to match anything.
You must first use ListFonts with matching patterns and THEN use LoadFont
with a real fontname (one of those returned by ListFonts).
I'm currently working on a high level function (named ObtainFont), that 
will mask these tough mechanisms.

   Daniel Dardailler                   |      Email : daniel@mirsa.inria.fr  
   BULL  Centre de Sophia Antipolis    |      Phone : (33) 93 65 77 71       
         2004, Route des Lucioles      |      Telex :      97 00 50 F        
         06565 Valbonne CEDEX  France  |      Fax   : (33) 93 65 77 66      
				       |
Technical Details
Message-ID: <567@mirsa.inria.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!inria!mirsa!daniel
References: <2845074091-1038891@RIGI>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!inria!mirsa!daniel
From: daniel@mirsa.inria.fr (Daniel Dardailler)
Newsgroups: comp.windows.x
Subject: Re: XLFD matching
Message-ID: <567@mirsa.inria.fr>
Date: 28 Feb 90 08:33:46 GMT
References: <2845074091-1038891@RIGI>
Organization: Bull Research Center. Sophia Antipolis. France
Lines: 16