🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: width of font characters

#12007
From: Andy Finkel
Date: Wed, 29 Mar 1989 17:20
17 lines
1067 bytes
In article <1569@wpi.wpi.edu> pawn@wpi.wpi.edu (Kevin Goroway) writes:
>Is there any way to get the actual width of a single character of a particular
>font given that the font is loaded correctly.

The TextLength() function can be used for this; its a bit easier
than going into the font data itself.

		andy
-- 
andy finkel		{uunet|rutgers|amiga}!cbmvax!andy
Commodore-Amiga, Inc.

"Give me a Standard large enough, and a Committee to discuss it,
 and I will prevent the Earth from moving."

Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.
Technical Details
Message-ID: <6438@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!andy
References: <1569@wpi.wpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!andy
From: andy@cbmvax.UUCP (Andy Finkel)
Newsgroups: comp.sys.amiga.tech
Subject: Re: width of font characters
Message-ID: <6438@cbmvax.UUCP>
Date: 29 Mar 89 17:20:40 GMT
References: <1569@wpi.wpi.edu>
Reply-To: andy@cbmvax.UUCP (Andy Finkel)
Organization: Commodore Technology, West Chester, PA
Lines: 17