提交 8054c83c 编写于 作者: A asaha

Merge

...@@ -76,11 +76,11 @@ ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphS ...@@ -76,11 +76,11 @@ ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphS
} }
if (flags & irfMarkFirst) { if (flags & irfMarkFirst) {
firstGlyph = (le_uint32)currGlyph; firstGlyph = currGlyph;
} }
if (flags & irfMarkLast) { if (flags & irfMarkLast) {
lastGlyph = (le_uint32)currGlyph; lastGlyph = currGlyph;
} }
doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success); doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success);
...@@ -118,7 +118,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto ...@@ -118,7 +118,7 @@ void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphSto
if (firstGlyph == lastGlyph) break; if (firstGlyph == lastGlyph) break;
if (firstGlyph + 1 < firstGlyph) { if (firstGlyph + 1 < firstGlyph) {
success = LE_INDEX_OUT_OF_BOUNDS_ERROR; success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
break; break;
} }
a = glyphStorage[firstGlyph]; a = glyphStorage[firstGlyph];
ia = glyphStorage.getCharIndex(firstGlyph, success); ia = glyphStorage.getCharIndex(firstGlyph, success);
......
...@@ -76,8 +76,8 @@ public: ...@@ -76,8 +76,8 @@ public:
static UClassID getStaticClassID(); static UClassID getStaticClassID();
protected: protected:
le_uint32 firstGlyph; le_int32 firstGlyph;
le_uint32 lastGlyph; le_int32 lastGlyph;
LEReferenceTo<IndicRearrangementSubtableHeader> indicRearrangementSubtableHeader; LEReferenceTo<IndicRearrangementSubtableHeader> indicRearrangementSubtableHeader;
LEReferenceToArrayOf<IndicRearrangementStateEntry> entryTable; LEReferenceToArrayOf<IndicRearrangementStateEntry> entryTable;
......
...@@ -74,11 +74,11 @@ le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphS ...@@ -74,11 +74,11 @@ le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphS
} }
if (flags & irfMarkFirst) { if (flags & irfMarkFirst) {
firstGlyph = (le_uint32)currGlyph; firstGlyph = currGlyph;
} }
if (flags & irfMarkLast) { if (flags & irfMarkLast) {
lastGlyph = (le_uint32)currGlyph; lastGlyph = currGlyph;
} }
doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success); doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask), success);
...@@ -115,7 +115,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt ...@@ -115,7 +115,7 @@ void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphSt
if (firstGlyph == lastGlyph) break; if (firstGlyph == lastGlyph) break;
if (firstGlyph + 1 < firstGlyph) { if (firstGlyph + 1 < firstGlyph) {
success = LE_INDEX_OUT_OF_BOUNDS_ERROR; success = LE_INDEX_OUT_OF_BOUNDS_ERROR;
break; break;
} }
a = glyphStorage[firstGlyph]; a = glyphStorage[firstGlyph];
ia = glyphStorage.getCharIndex(firstGlyph, success); ia = glyphStorage.getCharIndex(firstGlyph, success);
......
...@@ -76,8 +76,8 @@ public: ...@@ -76,8 +76,8 @@ public:
static UClassID getStaticClassID(); static UClassID getStaticClassID();
protected: protected:
le_uint32 firstGlyph; le_int32 firstGlyph;
le_uint32 lastGlyph; le_int32 lastGlyph;
LEReferenceToArrayOf<IndicRearrangementStateEntry2> entryTable; LEReferenceToArrayOf<IndicRearrangementStateEntry2> entryTable;
LEReferenceTo<IndicRearrangementSubtableHeader2> indicRearrangementSubtableHeader; LEReferenceTo<IndicRearrangementSubtableHeader2> indicRearrangementSubtableHeader;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册