[reportlab-users] Adding charSpace as a paragraph style attribute

Henning von Bargen henning.vonbargen at arcor.de
Mon Sep 1 12:20:28 EDT 2008


Looking at Paul's patch submitted here a few days ago,
I don't see how and where the different charSpace value
contributes to the string width calculations.
So wouldn't a large charSpace value result in wrong line-breaking?

Thinking about it, modifying the charSpace in a paragraph might be an
excellent way to improve the quality of justified paragraphs...
It could probably done automatically inside the _justifyDrawParaLine
and _justifyDrawParaLineX functions of paragraph.py.

Henning




More information about the reportlab-users mailing list