Learn R Programming

RGtk2 (version 2.20.31)

pangoUnicharDirection: pangoUnicharDirection

Description

Determines the inherent direction of a character; either PANGO_DIRECTION_LTR, PANGO_DIRECTION_RTL, or PANGO_DIRECTION_NEUTRAL.

Usage

pangoUnicharDirection(ch)

Arguments

ch
[numeric] a Unicode character

Value

PangoDirection] the direction of the character.

Details

This function is useful to categorize characters into left-to-right letters, right-to-left letters, and everything else. If full Unicode bidirectional type of a character is needed, pangoBidiTypeForGunichar() can be used instead.