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

Re: Interaction of Pango Wrapping and Alignment



On Tue, 2008-06-24 at 09:43 -0700, John Boncek wrote:
> pango_layout_set_alignment with either PANGO_ALIGN_CENTER or
> PANGO_ALIGN_RIGHT apparently has no effect when wrapping is turned off.

Works here:

$ pango-view --align center --text $'testttt\ning'

Gives me something that looks like this:

+-------+
|testttt|
|  ing  |
+-------+


behdad


>   I
> have been unable to find any statement in the documentation or mailing list
> about this, or with extensive use of Google.  Perhaps this was a design
> choice reflected in the use of pango_layout_set_width to -1 as the way to
> turn off wrapping?
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



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