Pango.Gravity represents the orientation of glyphs in a segment
of text.
This is useful when rendering vertical text layouts. In those situations,
the layout is rotated using a non-identity Pango.Matrix, and then
glyph orientation is controlled using Pango.Gravity.
Pango.Gravity represents the orientation of glyphs in a segment of text.
This is useful when rendering vertical text layouts. In those situations, the layout is rotated using a non-identity Pango.Matrix, and then glyph orientation is controlled using Pango.Gravity.
Not every value in this enumeration makes sense for every usage of Pango.Gravity; for example, Pango.Gravity.AUTO only can be passed to Pango.Context.set_base_gravity and can only be returned by Pango.Context.get_base_gravity.
See also: Pango.GravityHint
Since
1.16