Well, perhaps I'm not being clear, or perhaps I've misdiagnosed the
problem, but this is what I'm seeing:

    Gusts plastered Rand al'Thor's cloak
    to his back, whipped the
    earth-colored  wool around his legs,
    then  streamed it out behind him. He

And so forth.  (Note that this example does not use the word wrap
on hyphen feature).  It makes the text look awkward, IMO. :(  An
arbitrary hyphenation feature as suggested by Adam might work, but I'm
afraid of where the hyphens might fall ("t-he", for instance).

At any rate, adding the paragraph-end detection seems to fix the problem
(although it does result in large spaces, as Chris pointed out, although
wrapping words on hyphens does alleviate this to some degree):

    Gusts plastered Rand al'Thor's cloak
    to    his    back,    whipped    the
    earth-colored  wool around his legs,
    then  streamed it out behind him. He

- Jamis

   
On Mon, 2002-04-29 at 11:13, Chris Hawks wrote:
> ---On 29 Apr 2002 10:56:08 -0600,  Jamis Buck said
> 
> > Thanks for the hint -- I'll do a diff next time. ;)  I'm new to all
> > this, so please forgive any newbie mistakes.
> > 
> > I think I've figured out why the ALIGNMENT_JUSTIFY will sometimes not
> > justify a given line.  The AlignText function is saying that the line
> > will not be justified if the line length is less than 25% of the maximum
> > line length.  I assume this assumption is to catch the last line of a
> > paragraph, but this also means that if a line is wrapped because of a
> > long word at the end (ie, "blah blah supercalifragilistic..."), the
> > "blah blah" will not be justified.
> 
>     then your example it would be justified like this:
> 
>     Lots 'o words in the document
>     even  more  stuff  than  that.
>            blah        blah
>      supercalifragilisticexpiali
>     then  some  more  words  here
> 
>     That's why I had it not justify short lines.
> 
> --re: Re: Word wrap on a hyphen
> 
>                                 Chris
> 
> Christopher R. Hawks Software Engineer
> Syscon Plantstar a Division of Syscon International
> -------------------------------------------------------------------------
> "The strongest test of any system is not how well its features conform to
> anticipated needs but how well it performs when one wants to do something
> the designer did not forsee." 
>     -- Alan Kay, Xerox PARC 
> 
> 
> 
> 
-- 
Jamis Buck
[EMAIL PROTECTED]
http://hippa-potta.jamisandtarasine.net
.
"I'd horsewhip you if I had a horse." -- Groucho Marx

Reply via email to