CL page layout - technical information

<< Click to Display Table of Contents >>

Navigation:  User guide > Print styles >

CL page layout - technical information

The layout of the page using a PRS file is as follows:

Stage one

The page is first laid out like a piece of graph paper with each box (square on the graph paper) the same size. The number of boxes across the page is the print width and the number of boxes down the page is the print height.

The width of each box is the same size as any number (0-9) in the main font used and the height of each box is the height of the main font. The width of each box can be changed by altering the character spacing ratio of the main font. The height of each box can be changed by altering the line spacing ratio of the main font. For any line which also has extra fonts associated with it, the box height is the height of the largest font (taking line spacing into account) which is associated with the line.

The box widths are the same for the whole page. The box heights may vary from line to line if extra fonts are used.

Stage two

The text to be put on each line is the broken up into blocks of text. A block of text is any set of characters separated from other characters by at least two spaces (this is why tables must use format CLG2 or more). Each block is then placed onto the page in the area allocated on the graph paper. If the block consists entirely of dashes then a solid line may be put in its place (see section print style underline).

Stage three

The extra fonts are scanned to see if any apply and the appropriate font is chosen. If more than one extra font applies, the last one is used.

Stage four

The actual text to be printed will not normally be the size allocated on the graph paper because proportional fonts use different sizes for letters. CL now places the real text onto the page using one the following:

Left. The text starts at the left of the first box allocated to the text.

Centre. The text is centred at the middle of the allocated space on the graph paper.

Right. The text ends at the right of the last box allocated to the text.

Any text which would not fit on the page is adjusted so that it does.

Any block which starts at the left hand side of the page uses left alignment, all other blocks use centre alignment unless an extra font is used which controls the alignment.