904N/A * or visit www.oracle.com if you need additional information or have any
904N/A#include "LayoutEngine.h"
904N/A#include "ThaiLayoutEngine.h"
904N/A#include "ScriptAndLanguageTags.h"
904N/A#include "LEGlyphStorage.h"
904N/A#include "KernTable.h"
904N/A#include "ThaiShaping.h"
904N/AThaiLayoutEngine::ThaiLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_int32 typoFlags, LEErrorCode &success)
904N/Ale_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success)
904N/A if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
904N/A glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage);
904N/A return glyphCount;
904N/A// This is the same as LayoutEngline::adjustGlyphPositions() except that it doesn't call adjustMarkGlyphs