[REBOL] Re: Justifying text
From: doncox:enterprise at: 15-Dec-2002 15:48
On 14/12/02, Gregg Irwin wrote:
> Alternately, we could take a low tech approach if imperfect results
> for proportional fonts is acceptable; just add spaces to the text. :)
It depends whether Rebol is for use by amateurs or professionals.
When adjusting spacing to make a line of text fit a certain width, it is
best with most fonts to increase the letter spacing (tracking) as well
as the word spacing. The letter spacing must take account of any kerning
pairs in the font.
This problem comes up when text is wrapped around a picture as well as
when it is to be fully justified.
If the font is monospaced (eg Courier) then only extra spaces between
words are needed.
If you look at the Postscript code from a DTP program where text has
been fully justified, you will see coordinates specified for each