ArborX


tffit

Longname: t ext f rame fit   Open the Documentation Legend
Released: not available 
Created: not available 
Last modified: 5.92a 

Summary
Changes the attributes of text contained within a frame so that the whole of the text stream, up to a page break, fits the frame.
Example extract

Up to three text attributes can be selected for copyfitting. The macro shown below specifies the and macros: we don't, however, want to reduce the letter spacing to less than 50% of its current value, and have therefore specified that its value should not be less than 50%:

 tffit "th",20,200,0,100,"tlsb",50,1000,0,100

Syntax (SVNNA)
tffit  property or edge:t?  min:f?  max:f?  )  )  mode:n?  actual:f?  )  update:n?
property or edge:t

The name of the text property macro or edges to scale whose value can be changed when copyfitting.

min:f

The minimum scaling acceptable.

max:f

The maximum scaling acceptable.

mode:n
Copy fit will be calculated automatically when the frame is re-formatted; if the amount of text within the frame has changed, its copyfitting factor will also be changed.
Copyfitting will be calculated once on the basis of the text contained in the frame when the tffit macro is applied; even if the amount of text within the frame changes, the copyfitting factor will not be changed.
Copy fit will be fixed at the value given for actual.
actual:f

This parameter over-rides min and max, and is a multiplier for the attributes 'real' value. An actual setting of, for instance, th ... 300 will simply increase the type height to 300%.

update:n
Turns off update frame's real values after copyfitting (or tying).
Turns on update frame's real values after copyfitting (or tying).
Example

The example below is useful when you just want to see what the text in a frame will look like in a larger type - without going to the bother of changing all the paragraph style tags:

 tffit "th",1,10000,2,150,"tlb",1,10000,2,150

Document created on 08-Feb-2003 (revision 1)