Lines Matching full:properties
378 static void getArabicProperties(const unsigned short *chars, int len, HB_ArabicProperties *properties)
380 /* qDebug("arabicSyriacOpenTypeShape: properties:"); */
388 properties[0].justification = HB_NoJustification;
392 properties[i].justification = HB_NoJustification;
398 properties[i].shape = XIsolated;
402 properties[lastPos].shape = joining_table[shape][j].form1;
407 if (properties[lastPos].shape == XInitial || properties[lastPos].shape == XMedial)
408 properties[i-1].justification = HB_Arabic_Seen;
411 if (properties[lastPos].shape == XFinal)
412 properties[lastPos-1].justification = HB_Arabic_HaaDal;
415 if (properties[lastPos].shape == XFinal)
416 properties[lastPos-1].justification = HB_Arabic_Alef;
419 if (properties[lastPos].shape == XFinal)
420 properties[lastPos-1].justification = HB_Arabic_Waw;
423 if (properties[lastPos].shape == XFinal)
424 properties[lastPos-1].justification = HB_Arabic_Normal;
442 properties[i].justification = HB_Arabic_Space;
445 properties[i].justification = HB_Arabic_Kashida;
463 if (properties[lastPos].shape == XMedial && arabicGroup(chars[lastPos]) == Beh)
464 properties[lastPos-1].justification = HB_Arabic_BaRa;
483 properties[lastPos].shape = joining_table[shape][JNone].form1;
488 qDebug("arabic properties(%d): uc=%x shape=%d, justification=%d", i, chars[i], properties[i].shape, properties[i].justification);
507 static void getNkoProperties(const unsigned short *chars, int len, HB_ArabicProperties *properties)
514 properties[0].justification = HB_NoJustification;
517 properties[i].justification = (HB_GetUnicodeCharCategory(chars[i]) == HB_Separator_Space) ?
523 properties[i].shape = XIsolated;
527 properties[lastPos].shape = joining_table[shape][j].form1;
533 properties[lastPos].shape = joining_table[shape][JNone].form1;
538 qDebug("nko properties(%d): uc=%x shape=%d, justification=%d", i, chars[i], properties[i].shape, properties[i].justification);
889 HB_ArabicProperties *properties;
897 properties = props;
909 ++properties;
936 int shape = properties[i].shape;
985 properties[i].justification;
1037 HB_ArabicProperties *properties;
1054 properties = props;
1060 ++properties;
1073 if (properties[i].shape == XIsolated)
1075 else if (properties[i].shape == XMedial)
1077 else if (properties[i].shape == XFinal)
1079 else if (properties[i].shape == XInitial)
1082 item->attributes[i].justification = properties[i].justification;