[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] "Cosmetic" filling

From: Werner LEMBERG
Subject: Re: [Groff] "Cosmetic" filling
Date: Wed, 06 Sep 2006 17:26:35 +0200 (CEST)

> The problem is in environment::do_break() after the comment
> "this is so that hyphenation works". A zero-length space is
> added, so line->width() is zero when possibly_break_line()
> gets called, and the length of a real space at the end of
> the line is not subtracted from width_total anymore when
> considering whether to spread the line.
> Adding the zero-length space only if line->nspaces() == 0
> looks like a possible fix to me.

Thanks for the analysis.  I've done what you suggest.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]