Bidirectional Text Types and functions to help with handling bidirectional text Pango supports bidirectional text (like Arabic and Hebrew) automatically. Some applications however, need some help to correctly handle bidirectional text. The #PangoDirection type can be used with pango_context_set_base_dir() to instruct Pango about direction of text, though in most cases Pango detects that correctly and automatically. The rest of the facilities in this section are used internally by Pango already, and are provided to help applications that need more direct control over bidirectional setting of text. pango_context_get_base_dir(), pango_context_set_base_dir(), pango_itemize_with_base_dir() @PANGO_DIRECTION_LTR: @PANGO_DIRECTION_RTL: @PANGO_DIRECTION_TTB_LTR: @PANGO_DIRECTION_TTB_RTL: @PANGO_DIRECTION_WEAK_LTR: @PANGO_DIRECTION_WEAK_RTL: @PANGO_DIRECTION_NEUTRAL: @ch: @Returns: @text: @length: @Returns: @ch: @mirrored_ch: @Returns: @PANGO_BIDI_TYPE_L: @PANGO_BIDI_TYPE_LRE: @PANGO_BIDI_TYPE_LRO: @PANGO_BIDI_TYPE_R: @PANGO_BIDI_TYPE_AL: @PANGO_BIDI_TYPE_RLE: @PANGO_BIDI_TYPE_RLO: @PANGO_BIDI_TYPE_PDF: @PANGO_BIDI_TYPE_EN: @PANGO_BIDI_TYPE_ES: @PANGO_BIDI_TYPE_ET: @PANGO_BIDI_TYPE_AN: @PANGO_BIDI_TYPE_CS: @PANGO_BIDI_TYPE_NSM: @PANGO_BIDI_TYPE_BN: @PANGO_BIDI_TYPE_B: @PANGO_BIDI_TYPE_S: @PANGO_BIDI_TYPE_WS: @PANGO_BIDI_TYPE_ON: @ch: @Returns: