🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10838

What font does Intuition use?

#10838
From: Stuart H. Ferguson
Date: Thu, 05 Jan 1989 21:53
22 lines
1301 bytes
Tell me something --

When I create an IntuiText structure, I give it a pointer to a TextAttr
structure to use for rendering the text.  I assume that the specified font
needs to be in memory for Intuition to find it, and that if it doesn't,
it will just pick a font.  Any way to find out what font it really is using?

Baring that, is there an equivalent to the IntuiTextLength() call for 
finding the font height?  When I use the ta_YSize field of my TextAttr
structure, but Intuition has picked another, more convient font, all my
attempts at being clever in laying out text are for naught since the
font is not the size I think it is.  Needless to say, the results look
terrible.

Thanx in advance.

As an aside:  Why doesn't Intuition look on disk for the font if it can't
find it in memory?  (Or am I just off the wall on this one?)
-- 
		Stuart Ferguson		(shf@well.UUCP)
		Action by HAVOC
Technical Details
Message-ID: <10236@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!rutgers!mailrus!ames!pacbell!well!shf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!rutgers!mailrus!ames!pacbell!well!shf
From: shf@well.UUCP (Stuart H. Ferguson)
Newsgroups: comp.sys.amiga.tech
Subject: What font does Intuition use?
Keywords: Intuition, IntuiText, TextAttr
Message-ID: <10236@well.UUCP>
Date: 5 Jan 89 21:53:21 GMT
Reply-To: shf@well.UUCP (Stuart H. Ferguson)
Organization: The Blue Planet
Lines: 22