6. LineLayoutManager.makeLineBreak

Arguments are:

Calculate line dimensions. The Line LayoutManager contains the parameters lineHeight, lead and follow as members, which it received from its Block LayoutManager parent at construction. The Blo ckLayoutManager contains these parameters as members as well, and has received them from a TextInfo object in the method set BlockTextInfo. The TextInfo object has a reference to the Font object. lead is the font ascender, follow is the font descender.

The leading is the difference between lineHeight and font height = ascender + descender. The leading is split in two halves, one for above, the other for below the line. The variable lineLead is calculated as the distance from the baseline to the top of the line, the variable maxtb is calculated as the distance from the baseline to the bottom of the line. The variable middlefollow set equal to maxtb. These parameters correspond to the members lead, total and follow of the breakposs.

Warning

Find out the exact meaning of these.