[reportlab-users] cjk splitting problem
robin at reportlab.com
Wed Jul 29 12:23:52 EDT 2009
Volker Haas wrote:
> I believe I just ran into a bug when trying to render some japanese
> text. Splitting a paragraph (pagebreak) seems to fail when
> * paragraph.style.wordWrap = 'CJK'
> * the paragraph contains mulitple "fragments" (links, images or simple
> <i> tags in my example)
> See the attached minimal example.
Volker, I have re-arranged the code in the CJK break lines function and I think
it now works in that it allows splitting in the multi-fragment case.
I attach a zip containing the modified paragraph.py. Can you try this out?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17038 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090729/a7c22cef/attachment.bin>
More information about the reportlab-users