Class ArabicLigaturizer
- Namespace
- iTextSharp.text.pdf
- Assembly
- iTextSharp.LGPLv2.Core.dll
Shape arabic characters. This code was inspired by an LGPL'ed C library: Pango ( see http://www.pango.com/ ). Note that the code of this is the original work of Paulo Soares. Hence it is perfectly justifiable to distribute it under the MPL. @author Paulo Soares (psoares@consiste.pt)
public static class ArabicLigaturizer
- Inheritance
-
ArabicLigaturizer
- Inherited Members
Fields
DIGITS_AN2EN
Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039).
public const int DIGITS_AN2EN = 64
Field Value
DIGITS_EN2AN
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits.
public const int DIGITS_EN2AN = 32
Field Value
DIGITS_EN2AN_INIT_AL
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits if the most recent strongly directional character is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC). The initial state at the start of the text is assumed to be an Arabic, letter, so European digits at the start of the text will change. Compare to DIGITS_ALEN2AN_INT_LR.
public const int DIGITS_EN2AN_INIT_AL = 128
Field Value
DIGITS_EN2AN_INIT_LR
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits if the most recent strongly directional character is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC). The initial state at the start of the text is assumed to be not an Arabic, letter, so European digits at the start of the text will not change. Compare to DIGITS_ALEN2AN_INIT_AL.
public const int DIGITS_EN2AN_INIT_LR = 96
Field Value
DIGITS_MASK
Bit mask for digit shaping options.
public const int DIGITS_MASK = 224
Field Value
DIGIT_TYPE_AN
Digit type option: Use Arabic-Indic digits (U+0660...U+0669).
public const int DIGIT_TYPE_AN = 0
Field Value
DIGIT_TYPE_AN_EXTENDED
Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9).
public const int DIGIT_TYPE_AN_EXTENDED = 256
Field Value
DIGIT_TYPE_MASK
Bit mask for digit type options.
public const int DIGIT_TYPE_MASK = 256
Field Value
ar_composedtashkeel
public const int ar_composedtashkeel = 4
Field Value
ar_lig
public const int ar_lig = 8
Field Value
ar_nothing
public const int ar_nothing = 0
Field Value
ar_novowel
public const int ar_novowel = 1