[reportlab-users] Hyphenation glitch when using HTML entities

Robin Becker robin at reportlab.com
Tue Dec 14 04:52:29 EST 2021


Hi Lele,

thanks for the report; it turns out there were a number of issues related to multi-fragment paragraphs.

1) The computation of space shrinkage was wrong.
2) Final lines of paragraphs were not justified properly (also for single fragment paras).

It did make some differences to the standard test renders so I have not yet released fully. If you want you can try the 
changes by down loading a 3.6.4 wheel from https://www.reportlab.com/pypi (needs a login see 
http://www.reportlab.com/accounts/register/) or get the source from https://hg.reportlab.com/hg/reportlab.

It made the tests work OK and there's a test output with single and multi-frag text matching.
--
Robin Becker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_platypus_breaking_lelegaifax.pdf
Type: application/pdf
Size: 1559 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20211214/b2aaeaac/attachment.pdf>


More information about the reportlab-users mailing list