Nullpoet
Nullpoet

Reputation: 11269

How do I do text wrapping in pyCairo + Pango?

What I need pyCairo to do is :

Upvotes: 6

Views: 2233

Answers (1)

joeforker
joeforker

Reputation: 41777

You need to find a way to get the Pango context and set pango.Layout.set_wrap() and pango.Layout.set_width().

Upvotes: 3

Related Questions