简体   繁体   中英

How to justify text in ReportLab

I am trying to create a pdf document with reportlab, one of the texts is long, and reportlab writes it in a single line, it does not generate the break, I inserted the text in part, but I need to justify it, so that it looks good.

You can wrap your text in reportlab.platypus.Paragraph to get auto wrapping

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM