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

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

From: Bowerbird@...
Date: Mon, 21 Jan 2002 11:21:25 EST
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...

-bowerbird