jdk/src/share/native/sun/font/layout/CanonShaping.cpp
changeset 22330 cafb826672bd
parent 19008 f013dabb0bf8
equal deleted inserted replaced
22329:4cd45450d07c 22330:cafb826672bd
    58 
    58 
    59 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
    59 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
    60                                 LEUnicode *outChars, LEGlyphStorage &glyphStorage)
    60                                 LEUnicode *outChars, LEGlyphStorage &glyphStorage)
    61 {
    61 {
    62     LEErrorCode success = LE_NO_ERROR;
    62     LEErrorCode success = LE_NO_ERROR;
    63     LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen);
    63     LEReferenceTo<GlyphDefinitionTableHeader> gdefTable(LETableReference::kStaticData, CanonShaping::glyphDefinitionTable, CanonShaping::glyphDefinitionTableLen);
    64     LEReferenceTo<ClassDefinitionTable> classTable = gdefTable->getMarkAttachClassDefinitionTable(gdefTable, success);
    64     LEReferenceTo<ClassDefinitionTable> classTable = gdefTable->getMarkAttachClassDefinitionTable(gdefTable, success);
    65     le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount);
    65     le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount);
    66     le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount);
    66     le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount);
    67     le_int32 i;
    67     le_int32 i;
    68 
    68