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

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

From: Ian Mann <i.mann@...>
Date: Mon, 21 Jan 2002 17:25:33 +0000

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