GravityHint

GravityHint: Natural: scripts will take their natural gravity based on the base gravity and the script. This is the default. Strong: always use the base gravity set, regardless of the script. Line: for scripts not in their natural direction (eg. Latin in East gravity), choose per-script gravity such that every script respects the line progression. This means, Latin and Arabic will take opposite gravities and both flow top-to-bottom for example. * The #PangoGravityHint defines how horizontal scripts should behave in a vertical context. That is, English excerpt in a vertical paragraph for example. * See #PangoGravity. *

Values

ValueMeaning
NaturalPangoGravityHint.PANGO_GRAVITY_HINT_NATURAL
StrongPangoGravityHint.PANGO_GRAVITY_HINT_STRONG
LinePangoGravityHint.PANGO_GRAVITY_HINT_LINE

Meta

Since

1.16