[futurebasic] Re: [FB] Edit Field/Font spacing by line

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2002 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Mon, 21 Jan 2002 13:15:45 -0500
>Bowerbird@... wrote:
>
>> covington said:
>> >   When I do a carriage return for instance,
>> >   how far down does the pen move to render/print the next line,
>> >   and is this a font specific item?
>> >   If so, how does one gain this value, and what is it called?
>>
>> i just put the cursor at a specific location, print,
>> get the new location, and subtract the difference.
>>
>> print %(0,100);'"";
>> print ""
>> newlocation=window(_penv)
>> lineheight=newlocation-100
>>
>> ***
>>
>> ian said:
>> >   Are you looking for USR Fontheight ?
>>
>> and robert said:
>> >   Nah, I am looking for
>> >   USR How  Much Vertical  Space Between Lines Height.
>>
>> i think that's precisely what "usr fontheight" is, robert...
>> (thanks for reminding me what it was, ian...)
>> but feel free to use my home-made method if you prefer...
>
>When you use USR Fontheight it gives you the 'line height' not the distance
>between the top of "A" and the bottom of "y"...
>
>Regards
>
>Ian

Crud.

The help says it gives the sum of the Ascending, Leading and Descending.

What the hell are those exactly...I figured it -was- the height of the
largest glyph in the font.

>fontHeight% = USR FONTHEIGHT
>
>Definition
>
>Returns the current font height setting for the output window. The font
>height is a total of the its ascent, descent, and leading.

?

rc