Pango and wrapping



I am calling set_width on a Pango layout in order to force wrapping
within a specific boundary.  What I want, however, is something of a
combination of PANGO_WRAP_WORD and PANGO_WRAP_CHAR.  That is, wrap by
word if you can, but if a word boundary doesn't fall within the
specified width, wrap by char.  The way it is now, it lets the long line
spill out of the frame.

Any way around this?

Thanks,
Jason.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]