Browse Prior Art Database

Justification of Last Line in Paragraph by Average Paragraph Density

IP.com Disclosure Number: IPCOM000061751D
Original Publication Date: 1986-Sep-01
Included in the Prior Art Database: 2005-Mar-09
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Borkin, SA: AUTHOR [+2]

Abstract

Current formatters insert no extra space into the last line of a justified paragraph. This can result in a very dense last line as compared with the rest of the paragraph, which may not be visually pleasing. The present approach consists of increasing the interword spacing in the last line of a multi-line paragraph so that the density of this line matches the average density of the rest of the paragraph. This approach can be implemented in many different ways according to exactly what quantity is to be made uniform. Some of the possible quantities are: average size of interword gaps, the ratio of space to non-blank characters, or the average amount of extra space added for justification. The choice of which quantity to make uniform will make only minor differences in normal text.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 66% of the total text.

Page 1 of 1

Justification of Last Line in Paragraph by Average Paragraph Density

Current formatters insert no extra space into the last line of a justified paragraph. This can result in a very dense last line as compared with the rest of the paragraph, which may not be visually pleasing. The present approach consists of increasing the interword spacing in the last line of a multi-line paragraph so that the density of this line matches the average density of the rest of the paragraph. This approach can be implemented in many different ways according to exactly what quantity is to be made uniform. Some of the possible quantities are: average size of interword gaps, the ratio of space to non-blank characters, or the average amount of extra space added for justification. The choice of which quantity to make uniform will make only minor differences in normal text. The exact effects of choice of quantity will depend on distribution of word lengths in the text, ratio of average word length to line length, whether or not there is hyphenation, whether the typestyles used are mono-spaced or proportionally spaced, and the weights and distribution of typestyles used. The method of implementing this approach is to first make the line-ending decisions for the paragraph. Choose a quantity to make uniform. Then compute the value of this quantity for all but the last line of the paragraph. Finally, add or subtract interword spacing for the last line of the paragraph to make it as close as po...