summaryrefslogtreecommitdiffstats
path: root/src/kernel/qscriptengine_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qscriptengine_x11.cpp')
-rw-r--r--src/kernel/qscriptengine_x11.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kernel/qscriptengine_x11.cpp b/src/kernel/qscriptengine_x11.cpp
index 06523b700..fb18aa3e9 100644
--- a/src/kernel/qscriptengine_x11.cpp
+++ b/src/kernel/qscriptengine_x11.cpp
@@ -1124,7 +1124,7 @@ static const unsigned short split_matras[] = {
static inline void splitMatra(unsigned short *reordered, int matra, int &len, int &base)
{
unsigned short matra_uc = reordered[matra];
- //qDebug("matra=%d, reordered[matra]=%x", matra, reordered[matra]);
+ //tqDebug("matra=%d, reordered[matra]=%x", matra, reordered[matra]);
const unsigned short *split = split_matras;
while (split[0] < matra_uc)
@@ -1189,9 +1189,9 @@ static const TQOpenType::Features indic_features[] = {
// #define INDIC_DEBUG
#ifdef INDIC_DEBUG
-#define IDEBUG qDebug
+#define IDEBUG tqDebug
#else
-#define IDEBUG if(0) qDebug
+#define IDEBUG if(0) tqDebug
#endif
#ifdef INDIC_DEBUG
@@ -1665,7 +1665,7 @@ static bool indic_shape_syllable(TQOpenType *openType, TQShaperItem *item, bool
{
IDEBUG("OT properties:");
for (int i = 0; i < len; ++i)
- qDebug(" i: %s", ::propertiesToString(properties[i]).toLatin1().data());
+ tqDebug(" i: %s", ::propertiesToString(properties[i]).toLatin1().data());
}
#endif
@@ -1678,14 +1678,14 @@ static bool indic_shape_syllable(TQOpenType *openType, TQShaperItem *item, bool
// 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);
+// tqDebug("reordering matra, len=%d", newLen);
// need to find the base in the shaped string and move the matra there
int basePos = 0;
while (basePos < newLen && (int)otl_glyphs[basePos].cluster <= base)
basePos++;
--basePos;
if (basePos < newLen && basePos > 1) {
-// qDebug("moving prebase matra to position %d in syllable newlen=%d", basePos, newLen);
+// tqDebug("moving prebase matra to position %d in syllable newlen=%d", basePos, newLen);
OTL_GlyphItemRec m = otl_glyphs[0];
--basePos;
for (i = 0; i < basePos; ++i)
@@ -2092,7 +2092,7 @@ static int tibetan_nextSyllableBoundary(const TQString &s, int start, int end, b
int pos = 0;
TibetanForm state = tibetan_form(*uc);
-// qDebug("state[%d]=%d (uc=%4x)", pos, state, uc[pos].unicode());
+// tqDebug("state[%d]=%d (uc=%4x)", pos, state, uc[pos].unicode());
pos++;
if (state != TibetanHeadConsonant) {
@@ -2473,9 +2473,9 @@ static const signed char khmerStateTable[][CC_COUNT] =
// #define KHMER_DEBUG
#ifdef KHMER_DEBUG
-#define KHDEBUG qDebug
+#define KHDEBUG tqDebug
#else
-#define KHDEBUG if(0) qDebug
+#define KHDEBUG if(0) tqDebug
#endif
// Given an input string of characters and a location in which to start looking
@@ -2551,9 +2551,9 @@ static bool khmer_shape_syllable(TQOpenType *openType, TQShaperItem *item)
memset(properties, 0, 16*sizeof(unsigned char));
#ifdef KHMER_DEBUG
- qDebug("original:");
+ tqDebug("original:");
for (int i = from; i < syllableEnd; i++) {
- qDebug(" %d: %4x", i, string[i].unicode());
+ tqDebug(" %d: %4x", i, string[i].unicode());
}
#endif
@@ -3001,9 +3001,9 @@ static const signed char mymrStateTable[][Mymr_CC_COUNT] =
// #define MYANMAR_DEBUG
#ifdef MYANMAR_DEBUG
-#define MMDEBUG qDebug
+#define MMDEBUG tqDebug
#else
-#define MMDEBUG if(0) qDebug
+#define MMDEBUG if(0) tqDebug
#endif
// Given an input string of characters and a location in which to start looking
@@ -3082,9 +3082,9 @@ static bool myanmar_shape_syllable(TQOpenType *openType, TQShaperItem *item, boo
const TQChar *uc = item->string->unicode() + item->from;
#ifdef MYANMAR_DEBUG
- qDebug("original:");
+ tqDebug("original:");
for (int i = 0; i < item->length; i++) {
- qDebug(" %d: %4x", i, uc[i].unicode());
+ tqDebug(" %d: %4x", i, uc[i].unicode());
}
#endif
int vowel_e = -1;