Next: Word Warp
Up: Drawing
Previous: Conclusion about sizes
Contents
Justified paragraph
For a justified paragraph, the size of the space will be variable depending of the line and depending of the used font. The algorithm is the folowing one :
- compute the total size of every space in the line as it is a normal paragraph (not justified):
- compute the size between the last character and the end of the line :
- compute the factor of enlargement :
- every space between two words will be augmented by this previous factor :
2006-02-19