Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Newsgroups: comp.windows.x Subject: Re: Is it possible to find out font height and width without XLoadQueryFont Keywords: Font Hieght Width XLoadQueryFont Message-ID: <1991Jun28.132355.28887@thunder.mcrcim.mcgill.edu> Date: 28 Jun 91 13:23:55 GMT References: Organization: McGill Research Centre for Intelligent Machines Lines: 23 In article , emuleomo@paul.rutgers.edu (Emuleomo) writes: > I need to find out the Width and Height of a "typical" character (in > PIXELS) in the font for each form. First, define what you mean by `a "typical" character'! More seriously, I think you're probably trying to solve the wrong problem here. Regardless of the width of a typical character (whatever that means), someday you'll have to display something unusually wide or unusually narrow, so you have to be prepared for both extremes anyway. (And note that `unusually narrow' can be rather extreme; consider a font that contains both Arabic and Latin characters, for example.) That said, if you still believe you want such a thing, try to define precisely what it is you want, and then perhaps a solution will be easier to find. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu