我需要pyCairo做的事情是:
你需要找到一种方法来获取Pango的上下文,并设置 pango.Layout.set_wrap() 和 pango.Layout.set_width()。
pango.Layout.set_wrap()
pango.Layout.set_width()