Text in boxes, Locating the closest box – Xerox 4450 User Manual
Page 60
TROUBLESHOOTING
Text in boxes
When text is entered for placement within a box, the system
attempts to determine whether the given text exceeds the largest
font size that can fit within the boundaries of the box. If FDL
computations indicate that the entered text may not fit within the
box, the following error message is displayed:
TEXT WILL NOT FIT IN THE BOX
The system checks the horizontal and vertical directions of the
box. If an error is detected in one or both directions, an attempt
is made to indicate an approximate value for the largest font.
Locating the closest box
When you specify text to be placed in a box, the system locates
the closest box within a ten-dot square of the specified point.
Example
If text is to be placed in a box located two grid units by two grid
units from the origin of the form, the system selects the box
closest to this point and within ten dots square. The upper left
corner of this box becomes the relative origin for subsequent
text placement.
•
If text is to be placed in the next box horizontally, FDL
begins searching at the upper right corner of the box in
which previous text was placed.
•
If text is to be placed in the next box vertically, the search
begins at the lower left corner.
Error calculations
Horizontal errors
The calculations made for horizontal errors (for example, too
many characters in a line) are usually accurate. FDL uses the
following formula for reporting horizontal errors:
S
= P * (B/T)
S
target point size
P
original font point size
B
width of the box in dots
T
width of the text in dots.
Vertical errors
The calculation made by FDL for vertical errors (for example too
many lines in the box) is a rough approximation of the actual size
of text, and the computation may, in fact, be larger than the font
for which an error message was displayed. This is because the
FDL calculation does not take into account the leading used
within the font or provided by line spacing specifications.
The following formula is used by the error-handling routine to
compute text size when the box is too small in a vertical
direction:
S
= (72/300) * (D/N)
S
target point size
72 number of points in an inch
300 number of dots in an inch
D
distance between top and bottom of the box (in dots)
N
number of lines that are involved.
4-10
XEROX 4050/4090/4450/4650 LPS FORMS CREATION GUIDE