diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp b/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp index 3cd84d7..d42b8d2 100644 --- a/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp +++ b/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp @@ -1285,9 +1285,9 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo unsigned short *uc = reordered.data(); bool beginsWithRa = FALSE; - // Rule 1: tqfind base consonant + // Rule 1: find base consonant // - // The shaping engine tqfinds the base consonant of the + // The shaping engine finds the base consonant of the // syllable, using the following algorithm: starting from the // end of the syllable, move backwards until a consonant is // found that does not have a below-base or post-base form @@ -1301,7 +1301,7 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo // // * In Kannada and Telugu, the base consonant cannot be // farther than 3 consonants from the end of the syllable. - // #### tqreplace the HasReph property by testing if the feature exists in the font! + // #### replace the HasReph property by testing if the feature exists in the font! if (form(*uc) == Consonant || (script == TQFont::Bengali && form(*uc) == IndependentVowel)) { beginsWithRa = (properties & HasReph) && ((len > 2) && *uc == ra && *(uc+1) == halant); @@ -1470,7 +1470,7 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo position[base] = Base; for (i = base+1; i < len; ++i) { position[i] = indic_position(uc[i]); - // #### tqreplace by adjusting table + // #### replace by adjusting table if (uc[i] == nukta || uc[i] == halant) position[i] = Inherit; } @@ -1679,7 +1679,7 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo // move the left matra back to it's correct position in malayalam and tamil if ((script == TQFont::Malayalam || script == TQFont::Tamil) && (form(reordered[0]) == Matra)) { // qDebug("reordering matra, len=%d", newLen); - // need to tqfind the base in the tqshaped string and move the matra there + // need to find the base in the tqshaped string and move the matra there int basePos = 0; while (basePos < newLen && (int)otl_glyphs[basePos].cluster <= base) basePos++; |