[comp.windows.x] Use the source, Luke

snl@CUYAHOGA.EDRC.CMU.EDU (Sean Levy) (06/17/89)

Okay, I've answered most of my meandering questions myself by reading
the introductory paragraph of section 6.5 (beating myself all the
while with a big olive branch that says "RTFM" on it... it's normally
reserved for users...) and looking at XFontInfo.c and XLoadFont.c.

It comes down to this: how do I get the name of the font referred to
by a font ID?

sean levy - research programmer / engineering design research center / cmu
  internet: snl@edrc.cmu.edu           bitnet: snl@edrc.cmu.edu%CMCCVMA
      uucp: ...!harvard!cs.cmu.edu!snl  2wire: 412 268 2257
      dirt: edrc / cmu / doherty hall a219 / pittsburgh pa 15213
-- 
sean levy - research programmer / engineering design research center / cmu
  internet: snl@edrc.cmu.edu           bitnet: snl@edrc.cmu.edu%CMCCVMA
      uucp: ...!harvard!cs.cmu.edu!snl  2wire: 412 268 2257
      dirt: edrc / cmu / doherty hall a219 / pittsburgh pa 15213
-- 

rws@EXPO.LCS.MIT.EDU (06/19/89)

    how do I get the name of the font referred to by a font ID?

The protocol does not provide a way, sorry.

(If the font follows the X Logical Font Description Conventions, then you
can reconstruct the name from several of the font properties, but that's
rather cumbersome.)