2362N/A * or visit www.oracle.com if you need additional information or have any
0N/A * This file is a modification of the ICU file IndicLayoutEngine.cpp
0N/A#include "OpenTypeLayoutEngine.h"
0N/A#include "KhmerLayoutEngine.h"
0N/A#include "LEGlyphStorage.h"
0N/A#include "KhmerReordering.h"
0N/AKhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
0N/A le_int32 typoFlags, const LEReferenceTo<GlyphSubstitutionTableHeader> &gsubTable, LEErrorCode &success)
0N/AKhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
0N/Ale_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
0N/A if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
0N/A le_int32 outCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
0N/A return outCharCount;