🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #668

What the heck is a strut?

#668
From: Bill Poitras
Date: Wed, 14 Oct 1992 09:08
14 lines
1267 bytes
Does anyone know exactly a strut, vstrut and hstrut do?  Judging from
the code, layout.strut, which depends on a font, creates some sort of
glue whose alignment is proportional to the font's descent related to
the fonts total "height" (descent+ascent).  That would appear to give
you glue which is the maximum height of a single character of that
particular font with its vertical alignment set at the font's
baseline.  Is that right?  What did I just say?

--
+-----------------+-------------------------------+-------------------------+
| Bill Poitras    | Molecular Simulations Inc.    | Tel (408)522-9229       |
| (bill)          | Sunnyvale, CA USA             |                         | 
|                 | FAX (408)732-0831             | bill@msi.com            |
+-----------------+-------------------------------+-------------------------+
Technical Details
Message-ID: <1992Oct14.090852.1158@msi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!spool.mu.edu!sgiblab!msi!snoopy!bill

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!spool.mu.edu!sgiblab!msi!snoopy!bill
From: bill@snoopy (Bill Poitras)
Subject: What the heck is a strut?
Message-ID: <1992Oct14.090852.1158@msi.com>
Sender: usenet@msi.com (USENET)
Reply-To: bill@msi.com
Organization: Molecular Simulations, Inc.
X-Newsreader: Tin 1.1 PL5
Date: Wed, 14 Oct 1992 09:08:52 GMT
Lines: 15