TibetanLayoutEngine.cpp revision 3171
3171N/A * or visit www.oracle.com if you need additional information or have any
3171N/A * This file is a modification of the ICU file KhmerReordering.cpp
3171N/A * by Jens Herden and Javier Sola who have given all their possible rights to IBM and the Governement of Bhutan
3171N/A * Assistance for this module has been received from Namgay Thinley, Christopher Fynn and Javier Sola
3171N/A#include "OpenTypeLayoutEngine.h"
3171N/A#include "TibetanLayoutEngine.h"
3171N/A#include "LEGlyphStorage.h"
3171N/A#include "TibetanReordering.h"
3171N/ATibetanOpenTypeLayoutEngine::TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
3171N/A : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success)
3171N/ATibetanOpenTypeLayoutEngine::TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
3171N/Ale_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
3171N/A if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
3171N/A le_int32 outCharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
3171N/A return outCharCount;