Confusing textwrap parameters, and request for RE help

Peter J. Holzer hjp-python at hjp.at
Thu Mar 26 15:08:14 EDT 2020


On 2020-03-25 16:09:24 -0400, Richard Damon wrote:
> On 3/25/20 3:52 PM, Peter J. Holzer wrote:
> > If anything, I think it was fixed-width fonts which contributed to the
> > decline of hyphenation: With a fixed-width font you can't get a proper
> > justification anyway, and if your right margin is ragged, hyphenation is
> > much less important
> 
> Actually, fixed width fonts are easy to justify, you just add additional 
> space between words through the line.

Yes. It's easy to do it wrong and impossible to do it right :-)

(BTDT)

The problem is that you can only insert an integral number of spaces und
the number of spaces you need to insert is rarely a multiple of the
number of gaps between words. So you get uneven spacing, which looks
horrible.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp at hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20200326/6f510e30/attachment.sig>


More information about the Python-list mailing list