[reportlab-users] Soft hyphens in ReportLab

Robin Becker robin at reportlab.com
Tue Mar 10 11:30:19 EDT 2020


On 09/03/2020 15:33, Christoph Zwerschke wrote:
> When you add soft hyphens (­ = ­) as hints for splitting long words, they are recognized by ReportLab 3.5.34, 
> but differently from HTML, they are always displayed, even inside the words. In HTML, you will only see the soft hyphen 
> as visible hyphen where they actually split the word. Are soft hyphens supposed to work that way in ReportLab or should 
> it be considered a bug?
........
probably it's a bug; there is some code related to _hy_shy=u'0xad' which is supposed to be doing soft hyphenation support.
linebreaking is the worst feature of reportlab.
-- 
Robin Becker


More information about the reportlab-users mailing list