Class PangoArabicShapping
- java.lang.Object
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PangoArabicShapping
-
public class PangoArabicShapping extends java.lang.ObjectShape arabic characters. This code was converted from a C version at www.pango.org.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classPangoArabicShapping.charstruct
-
Field Summary
Fields Modifier and Type Field Description private static charALEFprivate static charALEFHAMZAprivate static charALEFHAMZABELOWprivate static charALEFMADDAprivate static charALEFMAKSURA(package private) static intar_composedtashkeel(package private) static intar_lboxfont(package private) static intar_lig(package private) static intar_mulefont(package private) static intar_naqshfont(package private) static intar_nothing(package private) static intar_novowel(package private) static intar_standard(package private) static intar_unifontprivate static char[][]chartableprivate static charDAMMAprivate static charFARSIYEHprivate static charFATHAprivate static charHAMZAprivate static charHAMZAABOVEprivate static charHAMZABELOWprivate static charKASRAprivate static charLAMprivate static charLAM_ALEFprivate static charLAM_ALEFHAMZAprivate static charLAM_ALEFHAMZABELOWprivate static charLAM_ALEFMADDAprivate static charMADDAprivate static charSHADDAprivate static charTATWEELprivate static charWAWprivate static charWAWHAMZAprivate static charYEHprivate static charYEHHAMZAprivate static charZWJ
-
Constructor Summary
Constructors Constructor Description PangoArabicShapping()Creates a new instance of PangoArabicShapping
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intarabic_shape(char[] src, int srcoffset, int srclength, char[] dest, int destoffset, int destlength, int level)(package private) static charcharshape(char s, int which)(package private) static booleanconnects_to_left(PangoArabicShapping.charstruct a)(package private) static voidcopycstostring(java.lang.StringBuffer string, PangoArabicShapping.charstruct s, int level)(package private) static voiddoublelig(java.lang.StringBuffer string, int level)(package private) static booleanisVowel(char s)(package private) static intligature(char newchar, PangoArabicShapping.charstruct oldchar)(package private) static voidshape(char[] text, java.lang.StringBuffer string, int level)(package private) static intshapecount(char s)
-
-
-
Field Detail
-
ALEF
private static final char ALEF
- See Also:
- Constant Field Values
-
ALEFHAMZA
private static final char ALEFHAMZA
- See Also:
- Constant Field Values
-
ALEFHAMZABELOW
private static final char ALEFHAMZABELOW
- See Also:
- Constant Field Values
-
ALEFMADDA
private static final char ALEFMADDA
- See Also:
- Constant Field Values
-
LAM
private static final char LAM
- See Also:
- Constant Field Values
-
HAMZA
private static final char HAMZA
- See Also:
- Constant Field Values
-
TATWEEL
private static final char TATWEEL
- See Also:
- Constant Field Values
-
ZWJ
private static final char ZWJ
- See Also:
- Constant Field Values
-
HAMZAABOVE
private static final char HAMZAABOVE
- See Also:
- Constant Field Values
-
HAMZABELOW
private static final char HAMZABELOW
- See Also:
- Constant Field Values
-
WAWHAMZA
private static final char WAWHAMZA
- See Also:
- Constant Field Values
-
YEHHAMZA
private static final char YEHHAMZA
- See Also:
- Constant Field Values
-
WAW
private static final char WAW
- See Also:
- Constant Field Values
-
ALEFMAKSURA
private static final char ALEFMAKSURA
- See Also:
- Constant Field Values
-
YEH
private static final char YEH
- See Also:
- Constant Field Values
-
FARSIYEH
private static final char FARSIYEH
- See Also:
- Constant Field Values
-
SHADDA
private static final char SHADDA
- See Also:
- Constant Field Values
-
KASRA
private static final char KASRA
- See Also:
- Constant Field Values
-
FATHA
private static final char FATHA
- See Also:
- Constant Field Values
-
DAMMA
private static final char DAMMA
- See Also:
- Constant Field Values
-
MADDA
private static final char MADDA
- See Also:
- Constant Field Values
-
LAM_ALEF
private static final char LAM_ALEF
- See Also:
- Constant Field Values
-
LAM_ALEFHAMZA
private static final char LAM_ALEFHAMZA
- See Also:
- Constant Field Values
-
LAM_ALEFHAMZABELOW
private static final char LAM_ALEFHAMZABELOW
- See Also:
- Constant Field Values
-
LAM_ALEFMADDA
private static final char LAM_ALEFMADDA
- See Also:
- Constant Field Values
-
chartable
private static final char[][] chartable
-
ar_nothing
static final int ar_nothing
- See Also:
- Constant Field Values
-
ar_novowel
static final int ar_novowel
- See Also:
- Constant Field Values
-
ar_standard
static final int ar_standard
- See Also:
- Constant Field Values
-
ar_composedtashkeel
static final int ar_composedtashkeel
- See Also:
- Constant Field Values
-
ar_lig
static final int ar_lig
- See Also:
- Constant Field Values
-
ar_mulefont
static final int ar_mulefont
- See Also:
- Constant Field Values
-
ar_lboxfont
static final int ar_lboxfont
- See Also:
- Constant Field Values
-
ar_unifont
static final int ar_unifont
- See Also:
- Constant Field Values
-
ar_naqshfont
static final int ar_naqshfont
- See Also:
- Constant Field Values
-
-
Method Detail
-
isVowel
static boolean isVowel(char s)
-
charshape
static char charshape(char s, int which)
-
shapecount
static int shapecount(char s)
-
ligature
static int ligature(char newchar, PangoArabicShapping.charstruct oldchar)
-
copycstostring
static void copycstostring(java.lang.StringBuffer string, PangoArabicShapping.charstruct s, int level)
-
doublelig
static void doublelig(java.lang.StringBuffer string, int level)
-
connects_to_left
static boolean connects_to_left(PangoArabicShapping.charstruct a)
-
shape
static void shape(char[] text, java.lang.StringBuffer string, int level)
-
arabic_shape
static int arabic_shape(char[] src, int srcoffset, int srclength, char[] dest, int destoffset, int destlength, int level)
-
-