Re: Soft hyphens in ReportLab

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 09/03/2020 15:33, Christoph Zwerschke wrote:
> When you add soft hyphens (&shy; = &#173;) 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.