Path: utzoo!censor!geac!jtsv16!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: FONT PROBLEMS Message-ID: <8911081408.AA11962@expire.lcs.mit.edu> Date: 8 Nov 89 14:08:12 GMT References: <8911080816.AA01695@expo.lcs.mit.edu> Organization: The Internet Lines: 22 Given a variable of type XFontStruct *, I must determine what kind of font it is, (eg. its name, whether it is italic, bold or normal, and also its point size). If it's an XLFD-conforming font, then it will typically have properties you can use to determine these kinds of things, but they aren't required. If you have the name used to open the font, and it's an XLFD-conforming name, then you can parse it to obtain information. My guess is that the font id is a unique identifier to identify the font structure and *NOT* the type of the font right? It identifies a server resource. It does not identify font characteristics. What I need is some kind of mechanism which tells me that font1 and font2 are one and the same. There's no way to determine this, except by comparing the names used to open the fonts (which in some sense it still not precise due to aliases), or by doing some extremely horrible data comparisons you don't what to think about.