void IndicReordering::getDynamicProperties( DynamicProperties */*dProps*/, const IndicClassTable *classTable ) { LEUnicode currentChar; LEUnicode virama; LEUnicode workChars[2]; LEGlyphStorage workGlyphs; IndicReorderingOutput workOutput(workChars, workGlyphs, NULL); //le_int32 offset = 0; // First find the relevant virama for the script we are dealing with for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { if ( classTable->isVirama(currentChar)) { virama = currentChar; break; } } for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { if ( classTable->isConsonant(currentChar)) { workOutput.reset(); } } }
void IndicReordering::getDynamicProperties( DynamicProperties *, const IndicClassTable *classTable ) { LEUnicode currentChar; LEUnicode workChars[2]; LEGlyphStorage workGlyphs; IndicReorderingOutput workOutput(workChars, workGlyphs, NULL); //le_int32 offset = 0; #if 0 // TODO: Should this section of code have actually been doing something? // First find the relevant virama for the script we are dealing with LEUnicode virama; for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { if ( classTable->isVirama(currentChar)) { virama = currentChar; break; } } #endif for ( currentChar = classTable->firstChar ; currentChar <= classTable->lastChar ; currentChar++ ) { if ( classTable->isConsonant(currentChar)) { workOutput.reset(); } } }