summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-write/qcomplextext.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-write/qcomplextext.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-write/qcomplextext.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/apps/opie-write/qcomplextext.cpp b/noncore/apps/opie-write/qcomplextext.cpp
index 0fa6c2e..e8b94da 100644
--- a/noncore/apps/opie-write/qcomplextext.cpp
+++ b/noncore/apps/opie-write/qcomplextext.cpp
@@ -57,27 +57,24 @@ QBidiContext::QBidiContext( uchar l, QChar::Direction e, QBidiContext *p, bool o
57 if ( p ) 57 if ( p )
58 p->ref(); 58 p->ref();
59 parent = p; 59 parent = p;
60 count = 0; 60 count = 0;
61} 61}
62 62
63QBidiContext::~QBidiContext() 63QBidiContext::~QBidiContext()
64{ 64{
65 if( parent && parent->deref() ) 65 if( parent && parent->deref() )
66 delete parent; 66 delete parent;
67} 67}
68 68
69static QChar *shapeBuffer = 0;
70static int shapeBufSize = 0;
71
72/* 69/*
73 Arabic shaping obeys a number of rules according to the joining classes (see Unicode book, section on 70 Arabic shaping obeys a number of rules according to the joining classes (see Unicode book, section on
74 arabic). 71 arabic).
75 72
76 Each unicode char has a joining class (right, dual (left&right), center (joincausing) or transparent). 73 Each unicode char has a joining class (right, dual (left&right), center (joincausing) or transparent).
77 transparent joining is not encoded in QChar::joining(), but applies to all combining marks and format marks. 74 transparent joining is not encoded in QChar::joining(), but applies to all combining marks and format marks.
78 75
79 Right join-causing: dual + center 76 Right join-causing: dual + center
80 Left join-causing: dual + right + center 77 Left join-causing: dual + right + center
81 78
82 Rules are as follows (for a string already in visual order, as we have it here): 79 Rules are as follows (for a string already in visual order, as we have it here):
83 80