🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24158

Is it possible to find out font height and width without XLoadQueryFont

#24158
From: Emuleomo
Date: Thu, 27 Jun 1991 12:32
17 lines
1018 bytes
I have a form that uses a bold font and another that uses a medium font.

I need to find out the Width and Height of a "typical" character (in PIXELS)
in the font for each form.
I specified the font for each form in my XAPPLRESDIR resource file.

I think there should be a way in the Intrinsics to find out the xteristics
of a font without resorting to Xlib!
Any ideas?

Pls E-mail.

Thanx

--Emuleomo O.O. (emuleomo@yes.rutgers.edu)
-- 
Remember! It doesn't matter if you win or lose, as long as you win!
Technical Details
Message-ID: <Jun.27.08.32.21.1991.16139@paul.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!seismo!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!emuleomo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!seismo!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!emuleomo
From: emuleomo@paul.rutgers.edu (Emuleomo)
Newsgroups: comp.windows.x
Subject: Is it possible to find out font height and width without XLoadQueryFont
Keywords: Font Hieght Width XLoadQueryFont
Message-ID: <Jun.27.08.32.21.1991.16139@paul.rutgers.edu>
Date: 27 Jun 91 12:32:22 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 17