scriptGetHorizontalDirection

Fetches the #hb_direction_t of a script when it is set horizontally. All right-to-left scripts will return #HB_DIRECTION_RTL. All left-to-right scripts will return #HB_DIRECTION_LTR. Scripts that can be written either horizontally or vertically will return #HB_DIRECTION_INVALID. Unknown scripts will return #HB_DIRECTION_LTR.

Parameters

script harfbuzz.types.Script

The #hb_script_t to query

Return Value

Type: harfbuzz.types.Direction

The horizontal #hb_direction_t of script