Arabic

Joining context of the Arabic shaping: the form of a character is decided by the Joining_Type of the nearest non-transparent characters around it, as defined by ArabicShaping.txt and section 9.2 of the Unicode standard.

Namespace: Com\Tecnick\Unicode\Bidi\Shaping

Abstract: Yes

File: Arabic.php line 61

Joining context of the Arabic shaping: the form of a character is decided by the Joining_Type of the nearest non-transparent characters around it, as defined by ArabicShaping.txt and section 9.2 of the Unicode standard.

Tags

  • since: 2015-07-13
  • category: Library
  • author: Nicola Asuni info@tecnick.com
  • copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
  • license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
  • link: https://github.com/tecnickcom/tc-lib-unicode
  • phpstan-type: CharData array{ ‘char’: int, ‘i’: int, ’level’: int, ‘otype’: string, ‘pdimatch’: int, ‘pos’: int, ’type’: string, ‘x’: int, }
  • phpstan-type: SeqData array{ ’e’: int, ’edir’: string, ’end’: int, ’eos’: string, ’length’: int, ‘maxlevel’: int, ‘sos’: string, ‘start’: int, ‘item’: array<int, CharData>, }

Methods

getJoiningTypes()

File: Arabic.php line 137

public static getJoiningTypes(array<int, int> $paragraph) : array<int, string>

Parameters

  • $paragraph : array<int, int>: Codepoints of the paragraph, in logical order

Return values

array<int, string>