[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 14:49:33 -0500
>>> 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.
>>>
>The term "leading" originally referred to the thickness of the divider
>(made of lead) placed between rows of type when setting type by hand.
>(Yes, I've done this.) In most computer applications it has been
>redefined as the distance from one baseline to the next, which is what
>you are looking for.
>
>Apps like Quark XPress usually let you specify a default leading as a
>proportion of the font size. If it's set to add 10%, then a line of 10-pt
>type would be positioned 11 pts below the previous line, and 15-pt type
>would be placed at 16.5 pts below the last.
>
> e-e
> =J= a  y
>  "


Thanks.

So , using Al's font into thing or other, if I subtract the ascending, and
descending from the result of USR FontHeight, I should have that
value/measure called Leading or Linespacing that I am looking for, finally?

One reason for this mess is that I can't get PRINT %(x,y) to give the right
results in a GWorld. But Drawstring works perfectly.

Very funky.  However, because I am having to create a GWorld 2-4 times
larger than the actual print, making such for a few lines of type could get
out of hand at say 96 point results (( 4*96*number of lines) * (
Stringlength of longest sentence))

So I will nab each line of the entry edit field, and apply in some manner.

I guess.

I think I am overambitious in this text feature. But it works ok for a
single line so far. Smooth looking.

r
c