Article View: comp.windows.x
Article #24197Re: Is it possible to find out font height and width without XLoadQueryFont
From: der Mouse
Date: Fri, 28 Jun 1991 13:23
Date: Fri, 28 Jun 1991 13:23
22 lines
1492 bytes
1492 bytes
In article <Jun.27.08.32.21.1991.16139@paul.rutgers.edu>, 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
Technical Details
Message-ID:
<1991Jun28.132355.28887@thunder.mcrcim.mcgill.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouseReferences:
<Jun.27.08.32.21.1991.16139@paul.rutgers.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <Jun.27.08.32.21.1991.16139@paul.rutgers.edu> Organization: McGill Research Centre for Intelligent Machines Lines: 23