| pango-Vertical-Text {RGtk2} | R Documentation |
Laying text out in vertical directions
pangoGravityGetForMatrix(matrix)
pangoGravityGetForScript(script, base.gravity, hint)
Since 1.16, Pango is able to correctly lay vertical text out. In fact, it can set layouts of mixed vertical and non-vertical text. This section describes the types used for setting vertical text parameters.
PangoGravityPangoGravity type 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 PangoMatrix,
and then glyph orientation is controlled using PangoGravity.
Not every value in this enumeration makes sense for every usage of
PangoGravity; for example, PANGO_GRAVITY_AUTO only can be passed to
pangoContextSetBaseGravity and can only be returned by
pangoContextGetBaseGravity.
See also: PangoGravityHint
Since 1.16
southeastnorthwestauto
PangoGravityHintPangoGravityHint defines how horizontal scripts should behave in a
vertical context. That is, English excerpt in a vertical paragraph for
example.
See PangoGravity.
Since 1.16
naturalstrongline
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/pango/pango-Vertical-Text.html